Skip to content

Commit fc7266f

Browse files
committed
adding a few more styling
1 parent e9e8144 commit fc7266f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Week1/homework/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ body {
1717
background-color: #fff;
1818
border-radius: 15px;
1919
padding: 0 15px;
20+
cursor: pointer;
21+
}
22+
23+
h2:hover {
24+
transform: translateX(2px);
2025
}
2126

2227
img {
@@ -26,11 +31,19 @@ body {
2631
transition-duration: 3ms;
2732
}
2833

34+
img:hover {
35+
transform: translateX(3px);
36+
}
37+
2938
ul li {
3039
list-style: none;
3140
}
3241

3342
p {
3443
color: rgb(252, 252, 252);
3544
font-size: 1.2em;
45+
}
46+
47+
:hover {
48+
transition: all 0.3s;
3649
}

0 commit comments

Comments
 (0)