-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp6.css
61 lines (49 loc) · 1.11 KB
/
app6.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
body{
background-color: black;
}
h1{
background-color: #2a9d8f;
border: 5px solid #264653;
padding:0.7em;
width:300px;
font-size: 1.8em;
text-align: center;
margin:20px auto;
font-family: 'Courier New', Courier, monospace;
font-weight: lighter;
color: #eae2b7;
}
h1:nth-of-type(2n){
background-color:#e9c46a ;
}
h1:nth-of-type(3n){
background-color:#f4a261 ;
}
h1:nth-of-type(4n){
background-color:#e76f51 ;
}
section:first-of-type h1:nth-of-type(1){
transform-origin: bottom right;
transform: rotate(45deg);
}
section:first-of-type h1:nth-of-type(2){
transform: rotateZ(70deg);
}
section:first-of-type h1:nth-of-type(3){
transform: scale(2, 0.5);
}
section:first-of-type h1:nth-of-type(4){
transform: translate(-100px, 100px );
}
section:nth-of-type(2) h1:nth-of-type(1){
transform: skew(10deg, 5deg);
}
section:nth-of-type(2) h1:nth-of-type(2){
transform: rotate(20deg) scale(1.3);
}
section:nth-of-type(2) h1:nth-of-type(3){
transform: translateX(-500px) rotate(180deg) scaleY(1.5);
}
section:nth-of-type(1){
transform: scale(0.5);
}