html - Jade template engine / How to set a background image -


i set background-image html page rendered jade. know how achieve this?

thanks

the background image set in css of page. , has nothing jade.

so, in page css:

body {     background-image: url(/images/img1.jpg); } 

or using class assign 1 of elements in jade template:

.bkimg {     background-image: url(/images/img1.jpg); } 

and jade:

body.bkimg     p fine body 

the same applies element type.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -