-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0.00_cssSetup.html
43 lines (43 loc) · 1.39 KB
/
0.00_cssSetup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html>
<head>
<title>CSS Setup</title>
<link rel="stylesheet" type="text/css" href="./0.00_cssSetup.css">
</head>
<!-- <style>
h3 {
color: lightblue;
}
</style> -->
<body>
<h1>CSS Notes</h1>
<div class="div-1">
<h3>The purpose of CSS is:</h3>
<ul>
<li>CSS can be included within html using the style attr</li>
<li>CSS can be used with the style html element</li>
<li>CSS is altering colors, fonts, backgrounds, etc.</li>
<li>CSS can implement some effects and animations</li>
</ul>
</div>
<!--Challenge Wrap the h3 and the ul inside of a div, then give the div a margin of 20px -->
<p>Challenge</p>
<h1>CSS Notes</h1>
<h4>Purpose of CSS</h4>
<ul>
<li>To give the outside of a site a unique look and feel.</li>
<li>Alter colors, fonts, backgrounds, etc.</li>
<li>To implement some effects and light animations</li>
</ul>
<h3>CSS Statements</h3>
<p>Four main components include the following:</p>
<ol>
<li><b>Declaration</b>: the statement as a whole with curly braces.</li>
<li><b>Selector</b>: the name of the part you want to style.</li>
<li><b>Property</b>: properties to edit(e.g., width, height, background, etc.)</li>
<li><b>Value</b>: numbers, colors, urls - values that we assign.</li>
</ol>
<p>Here's a photo to illustrate these items:</p>
<img src="./img/samplecssstatement.jpg"; alt="">
</body>
</html>