diff --git a/WebDevelopment/01-CssBasics/index.htm b/WebDevelopment/01-CssBasics/index.htm new file mode 100644 index 0000000..d0c4200 --- /dev/null +++ b/WebDevelopment/01-CssBasics/index.htm @@ -0,0 +1,50 @@ + + + + + My website + + + + + + + +
+ + + +

This is right after the nav bar

+

This is right after the nav bar

+

This is right after the nav bar

+ + my span + +
+ +

My text is in here :)

+ +

This is a strong sentence with some emphasis included

+ +

This is a link to Google go on, click it

+ + + \ No newline at end of file diff --git a/WebDevelopment/01-CssBasics/style.css b/WebDevelopment/01-CssBasics/style.css new file mode 100644 index 0000000..542b3f7 --- /dev/null +++ b/WebDevelopment/01-CssBasics/style.css @@ -0,0 +1,84 @@ +html +{ + background: #111; + color: #fff; +} + +h1 +{ + color: blue; + display: inline-block; + border: 1px solid green; +} + +h1, h2, h3 +{ + color: red; +} + +h1 +{ + font-size: 14px; +} + +strong +{ + font-weight: normal; + font-style: italic; +} + +em +{ + font-style: normal; +} + +#SpecialHeading +{ + background: pink; +} + +.NavBar +{ + padding: 50px; + border: 1px solid green; +} + +span +{ + color: brown; +} + +.NavBar span +{ + color: green; +} + +.NavBar > span +{ + color: blue; +} + +.NavBar ~ p +{ + background: white; +} + +.NavBar + p +{ + background: blue; +} + +.m0 +{ + margin: 0; +} + +a +{ + color: green; +} + +a:hover +{ + color: white; +} \ No newline at end of file