3
Divs: divs.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; } .bold {

Divs CSS

Embed Size (px)

DESCRIPTION

divs

Citation preview

  • Divs: divs.html !

    Learning CSS

    .large {

    font-size:200%;

    }

    #green {

    color:green;

    }

    .underline {

    text-decoration:underline;

    }

    .bold {

  • font-weight:bold;

    }

    .bluebox {

    background-color:blue;

    width:200px;

    height:200px;

    }

    .redbox {

    background-color:red;

    width:300px;

    height:100px;

    }

    This is some text.

  • This is some more text.

    The third word in this paragraph is underlined.