-
Notifications
You must be signed in to change notification settings - Fork 0
/
mycss.css
131 lines (119 loc) · 1.82 KB
/
mycss.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
body {
font-family: monospace;
}
div {
transition:all 1s ease-in-out;
perspective: 800px;
perspective-origin: 50% 100px;
}
nav{
width: 100%;
overflow: hidden;
background-color: rgba(0,0,30,.9);
position: relative;
}
ul{
margin: 0 auto;
text-align: center;
padding-top: 2%;
}
ul li{
transition:all 1s ease-in-out;
padding:0 5% 0 5%;
display: inline;
color: white;
font-size: 20px;
}
ul li:hover{
color: orange;
background-color: lightblue;
}
img:hover{
transform:rotateY(360deg);
}
.yon{
background-color: rgba(0,0,30,.5);
width: 10%;
overflow-x: hidden;
text-align: center;
position: absolute;
}
.yonel{
padding: 10% 5%;
font-size: 10px;
color: white;
max-height: 10px;
}
.yonel:hover{
color: orange;
font-size: 30px;
background-color: lightblue;
transform:rotateX(50deg);
}
article {
line-height: 1.5em;
margin-left: auto;
margin-right: auto;
max-width: 50rem;
padding-left: 5%;
padding-right: 5%;
position: absolute;
top: 30%;
left: 10%;
}
article h1 {
font-size: 12px
}
p{
font-size: 9px
}
.cont{
width: 10%;
background-color: ;
height: 10%;
position: absolute;
top: -10%;
}
.line1{
width: 30px;
height: 4px;
background-color: rgba(0,0,0,0);
position: absolute;
top: 500%;
right: 30%;
}
.line2{
width: 30px;
height: 4px;
background-color: rgba(0,0,0,0);
position: absolute;
right: 700%;
top: 50%;
}
.line3{
width: 30px;
height: 4px;
background-color: rgba(0,0,0,0);
position: absolute;
right: 700%;
top: 500%;
}
.cont:hover {
background-color: (255,255,255,0.1)
}
.cont:hover > .line1 {
background-color: rgba(0,0,0,1);
top: 30%;
right: 30%;
}
.cont:hover > .line2 {
background-color: rgba(0,0,0,1);
top: 50%;
right: 30%;
}
.cont:hover > .line3 {
background-color: rgba(0,0,0,1);
top: 70%;
right: 30%;
}
/*.promo2a:hover > p {display:block;}*/