transparent circle in a div

Solutions on MaxInterview for transparent circle in a div by the best coders in the world

showing results for - "transparent circle in a div"
Rodrigo
30 Nov 2020
1div{
2    position:relative;
3    width:500px; height:200px;
4    margin:0 auto;
5    overflow:hidden;
6}
7div:after{
8    content:'';
9    position:absolute;
10    left:175px; top:25px;
11    border-radius:100%;
12    width:150px; height:150px;
13    box-shadow: 0px 0px 0px 2000px #E3DFD2;
14}
15
16body{background: url('https://farm9.staticflickr.com/8760/17195790401_ceeeafcddb_o.jpg');background-size:cover;}