Skip to content

Commit 2e6f983

Browse files
committed
Changing the radius of the circle and the formatting of files
1 parent 729ceb2 commit 2e6f983

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

circle.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
<!doctype html>
22
<html>
3+
34
<head>
45
<title>How to create a circle using div</title>
56
<link rel="stylesheet" href="style.css">
67
</head>
8+
79
<body>
810
<h1>How to create a circle using a div</h1>
911
<div class="blue circle">
10-
11-
<div>
12-
</body>
13-
</html>
12+
13+
<div>
14+
</body>
15+
16+
</html>

style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.blue {
2-
background-color:blue
3-
}
4-
.circle{
5-
border-radius:50%;
6-
width:300px;
7-
height:300px;
2+
background-color: blue
83
}
4+
5+
.circle {
6+
border-radius: 50%;
7+
width: 500px;
8+
height: 500px;
9+
}

0 commit comments

Comments
 (0)