Skip to content

Commit b2fe60d

Browse files
committed
A little updated css file
1 parent 8214145 commit b2fe60d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

01.bg-video/style.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
* {
22
padding: 0;
33
margin: 0;
4+
color: #fff;
45
box-sizing: border-box;
56
font-family: sans-serif;
67
}
78

9+
a {
10+
text-decoration: none;
11+
}
12+
813
.hero {
9-
width: 100%;
14+
width: 100vw;
1015
height: 100vh;
1116
background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3));
1217
position: relative;
13-
padding: 0 5%;
1418
display: flex;
19+
flex-direction: column;
1520
justify-content: center;
1621
align-items: center;
1722
}
@@ -22,9 +27,8 @@
2227

2328
.content h1 {
2429
font-size: 160px;
25-
color: #fff;
2630
font-weight: 600;
27-
transition: 0.5s;
31+
transition: .8s;
2832
}
2933

3034
.content h1:hover {
@@ -33,14 +37,12 @@
3337
}
3438

3539
.content a {
36-
text-decoration: none;
3740
display: inline-block;
38-
color: #fff;
3941
font-size: 24px;
4042
border: 2px solid white;
4143
padding: 14px 50px;
4244
margin-top: 20px;
43-
transition: 0.5s;
45+
transition: .8s;
4446
}
4547

4648
.content a:hover {

0 commit comments

Comments
 (0)