Emmet can also be used in CSS.
In the "index.html" page in the "start" project, add a style tag just below the link tag.
style
link
Enter style and press tab
tab
Inside the style tag, create a style for the main html element.
html
Add a background image and set it's properties...
Enter bgi press tab
bgi
Set the url to "background.jpeg"
Enter bgr press tab
bgr
Set the value to "no-repeat"
Enter bgs press tab
bgs
Set the value to "cover"
Set the height to 100%
height
Enter h100p press tab
h100p
Set the min-height to 1400px
min-height
Enter mh1400 press tab
mh1400
Add a style for the body element
body
Set the "background-color" to "RGBA(255, 255, 255, 0.8)
Enter bgc press tab
bgc
Enter h100p
Add a style for the #app ID
#app
Set the max-width to 800px
max-width
Enter maw800 press tab
maw800
Last updated 6 years ago