3
Floating: floating.html <!doctype html> <html> <head> <title>Learning CSS</title> <meta charset="utf-8" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style type="text/css"> .large { font-size:200%; } #green { color:green; } .underline { text-decoration:underline; }

Floating CSS

Embed Size (px)

DESCRIPTION

floating css

Citation preview

  • Floating: floating.html !!

    Learning CSS

    .large {

    font-size:200%;

    }

    #green {

    color:green;

    }

    .underline {

    text-decoration:underline;

    }

  • .bold {

    font-weight:bold;

    }

    .purplebox {

    background-color:#B404AE;

    width:200px;

    height:200px;

    float:left;

    }

    .greenbox {

    background-color:#295715;

    width:300px;

    height:100px;

    float:right;

    }

    .floatleft {

    float:left;

    }

    .clear {

    clear:both;

    }

  • This is some text.

    This is some more text.

    The third word in this paragraph is underlined.