how to create a semi circle in css

Solutions on MaxInterview for how to create a semi circle in css by the best coders in the world

showing results for - "how to create a semi circle in css"
Agustina
11 Jun 2017
1    div { 
2        position: absolute; 
3        top: 50%; 
4        left: 50%; 
5        transform: translate(-50%, -50%); 
6        height: 100px; 
7        width: 200px; 
8      	border-radius: 150px 150px 0 0; }