Skip to content

Commit 57b1e18

Browse files
committed
Changing the height and the width of the circle
1 parent 729ceb2 commit 57b1e18

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

style.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
:root{
2+
--circle-size:500px;
3+
}
14
.blue {
25
background-color:blue
36
}
47
.circle{
58
border-radius:50%;
6-
width:300px;
7-
height:300px;
9+
width:var(--circle-size);
10+
height:var(--circle-size);
811
}

0 commit comments

Comments
 (0)