-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4style.css
45 lines (37 loc) · 840 Bytes
/
4style.css
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
/*
Cascading Style sheet - always takes style at the end
Selector{
Property: Value;
}
.class - can have same value
#id - unique for element
* - for everything
element
element, element
element element - element(later) inside element(former)
element > element - former is parent of later
element + element - later exactly after former ( not the parent )
element:hover -
:last-child
:first-child
!important - overrides other cascading rules that come later
*/
body{
background-image: url(unsplash.jpg);
background-size: cover;
}
h1{
background-color: yellowgreen;
color: Red;
text-align: center;
border: 5px solid purple;
font-family: 'Big Shoulders Stencil Display', cursive;
}
/*
line-height: 20px
display: inline-block;
font-style: italic;
font-weight: bold;
font-size: 150%;
font-family: Georgia, "Times New Roman", ;
*/