CSS-03-组选择器
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="UTF-8"> 5 <title></title> 6 <style type="text/css"> 7 /*组选择器*/ 8 .la,.lb,.lc{ 9 width: 200px; 10 height: 200px; 11 border: 2px solid green; 12 background-color: greenyellow; 13 } 14 </style> 15 </head> 16 <body> 17 <div class="la"></div> 18 <div class="lb"></div> 19 <div class="lc"></div> 20 </body> 21 </html>
可以的话,记得帮我点个推荐,然后收藏+关注哟