啥都不说,先上图
截图水平比较差,凑活看吧,有人说这是一道面试题,我只是纯粹为了好玩,下面直接全代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
/* * {
margin: 0;
padding: 0;
} */
.box {
width: 300px;
height: 300px;
/* background: #000; */
border-radius: 50%;
box-shadow: 0 0 50px rgba(0, 0, 0,0.8);
position: relative;
}
.yin {
width: 150px;
height: 300px;
background: #000;
float: left;
position: relative;