Answers for "semicircle inside css"

CSS
1

how to create a semi circle in css

div { 
        position: absolute; 
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%); 
        height: 100px; 
        width: 200px; 
      	border-radius: 150px 150px 0 0; }
Posted by: Guest on February-24-2021

Browse Popular Code Answers by Language