Search
 
SCRIPT & CODE EXAMPLE
 

CSS

half circle css

div {
  width: 150px;
  height: 75px;
  border-bottom-left-radius: 510px;
  border-bottom-right-radius: 510px;
  background: #ECA03D;
}
Comment

half circle div

<!DOCTYPE html>
<html lang="en">
  
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content=
        "width=device-width, initial-scale=1.0">
  
    <title>Semi Circle</title>
  
    <style>
        * {
            margin: 0;
            padding: 0;
            background-color: white;
  
        }
  
        /* Using the border-radius property 
           to draw the semi-circle*/
        div {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            height: 100px;
            width: 200px;
            border-radius: 150px 150px 0 0;
            background-color: green;
        }
    </style>
</head>
  
<body>
    <div></div>
</body>
  
</html>
Comment

PREVIOUS NEXT
Code Example
Css :: css resize image without distortion 
Css :: image to fill div 
Css :: input focus border 
Css :: how to get rid of button outline when clicked 
Css :: focus in styled component 
Css :: center text horizontally and vertically 
Css :: ion-img border radius 
Css :: background image size css 
Css :: css make div on top of everything 
Css :: list-style-image size 
Css :: texto vertical css 
Css :: css box shadow not on bottom 
Css :: make images same size css 
Css :: css text limit 
Css :: flexbox center and space between 
Css :: css keep image ratio 
Css :: how to center div in css 
Css :: increase tooltip width in angular material 
Css :: css set variable 
Css :: como colocar o footer sempre no final da página 
Css :: the other div inline-block is in bottom 
Css :: sass calculate and concat pixels 
Css :: css resize image to fit div no stretching 
Css :: div align right in css 
Css :: css not class 
Css :: how to add background image in styled components 
Css :: second child css 
Css :: css change image saturation 
Css :: flexbox stretch 
Css :: css list style url siz 
ADD CONTENT
Topic
Content
Source link
Name
2+8 =