用html+css简单写一个奥运五环
1:效果图展示
2:关键点
1)将元素固定到屏幕中央
2)使用盒子模型,内部一个环固定位置,其他四个环根据合理的位置相对固定
3:代码段展示
html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/lesson.css"/>
</head>
<body>
<div class="wrapper">
<div class="blue yuan"></div>
<div class="black yuan"></div>
<div class="red yuan"></div>
<div class="yellow yuan"></div>
<div class="green yuan"></div>
</