Background shorthand notation


show more Background shorthand notation provides you with in-depth training on Web. Taught by James Williamson as part of the CSS: Core Concepts show less
please wait ...

Background shorthand notation

Backgrounds probably have as many individual properties as anything else in CSS. You can set color, images, positioning, attachment, repeat, and a host of other properties all as separate values. As you can imagine that's not very efficient. It makes writing them a bit of a chore. Well, thankfully we have shorthand notation for background properties that makes all of that a little bit easier, we just have to know the rules behind it. And to do that we're going to open up the background-shorthand.htm which is found in the 05_12 folder.

Very similar to what we had in our last exercise here, three div tags, one is banner1, one is banner2, and then we have a new one banner3 which just says Thank you and that is definitely the sentiment that I want to send out to all of you folks. Thank you for watching this title. And I've got some CSS up here just basically describing the backgrounds for banners 1 and 2, and we're going to do 1 for 3. The first thing I want to do is I want to...

Background shorthand notation
Video duration: 5m 25s 8h 52m Beginner

Viewers:

Background shorthand notation provides you with in-depth training on Web. Taught by James Williamson as part of the CSS: Core Concepts

Subject:
Web
Software:
CSS
Author:
please wait ...