CSS - Adding Background Images

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    CSS - Adding Background Images - Presentation Transcript

    1. CSS - Adding Images
    2. Background Images • background-image property adds a graphic to the background of an element. body { background-image: url(images/bg.gif); }
    3. Controlling Repetition • The background-repeat property specifies how (or if at all) an image tiles. background-repeat { no-repeat; } • It accepts four values: repeat, no-repeat, repeat-x, repeat-y
    4. Controlling Repetition • repeat: entire space is filled with the graphic, left to right, top to bottom. • no-repeat: image is displayed one time, without tiling or repetition. • repeat-x: repeats the image horizontally across the x-axis. • repeat-y: repeats the image vertically along the y-axis.

    + mapetitemapetite, 2 years ago

    custom

    1747 views, 0 favs, 0 embeds more stats

    A brief overview of adding and positioning backgrou more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1747
      • 1747 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories