Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion circle.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<h1>How to create a circle using a div</h1>
<div class="blue circle">

<div>
</div>

<h1>
Another circle in different color
</h1>
<div class="red circle">

</div>

</body>
</html>
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
.blue {
background-color:blue
}
.red {
background-color:darkred
}
.circle{
border-radius:50%;
width:300px;
height:300px;
}