Files
  • index.html
  • index.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Round them corners!</title>
    <link href="index.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <!-- Circle-->
     <div class="circle"></div>
     <br><br>
    <!-- By side-->
     <p class ="bySide">Border-radius is chosen by corner</p>
       <br><br>
    
    <!-- Examples by pixels-->
    <p class ="px10">Border-radius 10px.</p>
       <br><br>
    <p>Border-radius 25px.</p>
       <br><br>
    <p class = "px50">Border-radius 50px.</p>
       <br><br>
    <p class = "px100">Border-radius 100px.</p>
       <br><br>
   
   <!-- Examples by %-->
   <p class = "ten">Border-radius 10%</p>
   <br><br>
   <p class = "twentyFive">Border-radius 25%</p>
     <br><br>
   <p class = "fifty">Border-radius 50%</p>
     <br><br>
   <p class = "hun">Border-radius 100%</p>
   <br><br>
   
   
  </body>
</html>
result
console