老师,请问我的代码是否正确
来源:3-17 编程练习
qq_鸭绿桥第一帅哥_0
2018-10-30 12:34:59
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>border属性</title> <style type="text/css"> li{width:200px;height:50px;} .li1{border-top: 2px solid red;} .li2{border-right: 2px dotted green;} .li3{border-bottom: 2px dashed blue;} .li4{border-left: 3px double purple;} .li5{border: 2px solid orange;} </style> </head> <body> <ul> <li class="li1">第一个li</li> <li class="li2">第二个li</li> <li class="li3">第三个li</li> <li class="li4">第四个li</li> <li class="li5">第五个li</li> </ul> </body> </html>
1回答
测试了你的代码,效果可以实现
继续加油!
相似问题