前端二十七:四彩边框
生活随笔
收集整理的這篇文章主要介紹了
前端二十七:四彩边框
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
單獨(dú)為每一條邊框設(shè)置對(duì)應(yīng)的屬性?
<!doctype html> <html lang="en"> <head><meta charset="UTF-8"><title>Document</title><style>div{width: 200px;height: 200px;border: 5px solid #000; /*連寫(xiě)*//* border-bottom: 5px solid yellow 單條邊框也可以連寫(xiě)*/border-top-color: red; border-bottom-color: yellow; border-left-color: blue;border-right-color: pink;}</style> </head> <body><div>奧特曼大戰(zhàn)怪獸!!</div> </body> </html>?
總結(jié)
以上是生活随笔為你收集整理的前端二十七:四彩边框的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: linux: 查找文件
- 下一篇: 前端二十九:两个盒子居中的练习