-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (58 loc) · 1.64 KB
/
style.css
File metadata and controls
86 lines (58 loc) · 1.64 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/* My Basic CSS Style */
/* Change the font-size of the specified html element. */
/* Check out different units of measure for CSS properties.
http://www.w3schools.com/cssref/css_units.asp
*/
/* Change the font size of the selected element. */
.larger_font{
font-size: xx-large;
}
/* Change the font color of the selected element.
More information - http://www.w3schools.com/cssref/pr_text_color.asp
*/
.blue{
color: blue;
}
/* Change the text-decoration of the selected element.
More information - http://www.w3schools.com/cssref/pr_text_text-decoration.asp
*/
.underline{
text-decoration: underline;
}
/* Change the font-family of the selected element.
More information - http://www.w3schools.com/cssref/pr_font_font-family.asp
*/
.comic_sans{
font-family: "Comic Sans MS";
}
/* Change the text-align of the selected element.
More information - http://www.w3schools.com/cssref/pr_font_font-family.asp
*/
.center{
text-align: center;
}
/* Box Model from slides.
More Information
margin - http://www.w3schools.com/cssref/pr_margin.asp
padding - http://www.w3schools.com/cssref/pr_padding.asp
width/height - http://www.w3schools.com/cssref/pr_dim_height.asp
border - http://www.w3schools.com/cssref/pr_border.asp
background - http://www.w3schools.com/cssref/css3_pr_background.asp
*/
#box_model{
margin: 20px 20px 20px 20px;
padding: 10px 10px 10px 10px;
width: 300px;
height: 300px;
border: 5px solid black;
background: red;
}
/* Define a custom hover for a link.
More Information
:hover - http://www.w3schools.com/cssref/sel_hover.asp
*/
#custom_link:hover{
text-decoration: overline;
color: green;
font-size: xx-large;
}