-
Notifications
You must be signed in to change notification settings - Fork 0
/
dumb.css
158 lines (148 loc) · 2.38 KB
/
dumb.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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
*{margin: 0;padding: 0;}
body{overflow: hidden;}
.web
{
display: flex;
flex-direction: column;
}
figure
{
width: 100px;
}
header
{
padding: 5px;
padding-left:30px;
display: flex;
justify-content: space-between;
z-index: 1;
border: 2px solid;
box-sizing: border-box;
background-color: #4ec5c1;
}
figure img
{
height: 100px;
width:100px;
}
header nav
{
display: flex;
align-items: center;
padding-left:20px;
padding-right: 20px;
}
header nav ul
{
border: 2px solid;
list-style-type: none;
box-sizing: border-box;
}
header nav ul li
{
display: inline-flex;
margin-right: 20px;
flex-direction: column;
}
header nav ul li .txt
{
position: relative;
top:20px;
font-size: 30px;
text-decoration: none;
min-height: 41px;
color:black;
font-family: 'Fjalla One', sans-serif;
}
header nav ul li .txt:nth-child(1)
{
transition: color 0.5s, opacity 0.7s,transform 1.5s;
z-index: 1;
}
header nav ul li .txt:nth-child(2)
{
transition: color 0.5s, opacity 1s,transform 1s;
opacity: 0;
}
header nav ul li .txt:nth-child(1):hover
{
opacity: 0;
transform: translateY(-20px);
}
header nav ul li .txt:nth-child(1):hover + :nth-child(2)
{
opacity: 1;
color:#E24E42;
transform: translateY(-40px);
}
header nav ul li div
{
height: 40px;
width: 40px;
position: relative;
top: 20px;
}
.svgf
{
transition: fill 1s;
fill:#0E0B16;
}
header nav ul li div svg
{
height: inherit;
width: inherit;
}
header nav ul li div .facebook:hover .svgf
{
fill:#3B5998;
}
header nav ul li div .twitter:hover .svgf
{
fill:#1DA1F2;
}
.button
{
height: 50px;
width: 50px;
}
main
{
border: 10px solid green;
box-sizing: border-box;
transition: transform 1s;
}
.section
{
box-sizing: border-box;
height: 100vh;
border:3px solid green;
transition: transform 2s;
}
.section1
{
background-color: #813772;
}
.sectionb
{
display: flex;
flex-direction: row;
background-color: #3cc47c;
}
.sectionpu
{
background-color: #062f4f;
}
/*.scewdiv
{
height:100%;
width: 50%;
background-color: red;
margin: auto;
transform: skewX(-45.5deg);
}
.trianglediv
{
background-color: yellow;
height: 100%;
width: 25%;
}*/