Skip to content

Commit 7f33e20

Browse files
authored
Update style.css
1 parent 9f12160 commit 7f33e20

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

style.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ h1 {
1515
color: #fff;
1616
text-transform: uppercase;
1717
text-decoration: none;
18-
letter-spacing: 0.15em;
18+
letter-spacing: 0.45em;
1919
text-align: center;
20-
padding: 15px 20px;
21-
position: relative;
20+
padding: 18px 30px;
21+
position: absolute;
2222
}
2323
h1:after {
2424
background: none repeat scroll 0 0 transparent;
2525
bottom: 0;
2626
content: "";
27-
display: block;
28-
height: 2px;
27+
display:flex;
28+
height: 5px;
2929
left: 50%;
30-
position: absolute;
30+
position: relative;
3131
background: #fff;
3232
transition: width 0.3s ease 0s, left 0.3s ease 0s;
3333
width: 0;
@@ -59,7 +59,7 @@ h1:hover:after {
5959
border: none;
6060
width: 15rem;
6161
justify-content: center;
62-
transition: 0.2s;
62+
transition: 0.5s;
6363
}
6464
.stylebox:hover {
6565
transform: scale(1.02);
@@ -75,7 +75,7 @@ h1:hover:after {
7575
background-size: cover;
7676
width: 100%;
7777
height: 100%;
78-
border-radius: 0.5rem;
78+
border-radius: 0.8rem;
7979
image-rendering: pixelated;
8080
}
8181
.stylebox p {
@@ -87,7 +87,7 @@ h1:hover:after {
8787
.stylebox .btn-group {
8888
display: flex;
8989
justify-content: space-between;
90-
gap: 1rem;
90+
gap: 3rem;
9191
}
9292
.stylebox a {
9393
background-color: white;
@@ -114,7 +114,7 @@ a:hover {
114114

115115
@media only screen and (max-width: 600px) {
116116
.styles {
117-
display: flex;
117+
display: block;
118118
flex-wrap: wrap;
119119
flex-direction: column;
120120
justify-content: space-around;

0 commit comments

Comments
 (0)