使用方法:
1、head引入css文件
<link rel="stylesheet" href="css/style.css">
2、body引入HTML代码
<div class="container"> <div class="color"> <div class="red"></div> </div> <div class="color"> <div class="orange"></div> </div> <div class="color"> <div class="yellow"></div> </div> <div class="color"> <div class="green"></div> </div> <div class="color"> <div class="blue"></div> </div> <div class="color"> <div class="purple"></div> </div> </div>