css透明的border怎么写

html-css012

css透明的border怎么写,第1张

 border: 1px solid transparent

 border-color: transparent

 

 border-color: rgba(0,0,0,0)

之类的就行了啊

a:link是超链接未点击是的样式

a:hover是鼠标指向超链接的样式

a:visited是超链接被点击后的样式

a:link, a:visited {

border-style: solid

border-width: 5px

border-color: transparent

}

这段代码同时控制了超链接未点击和点击过后的样式,

border-style: solid边线为实线

border-width: 5px边线宽度为5个像素

border-color: transparent边线颜色

none:无边框

dotted:点状边框

dashed:虚线边框

solid:实线边框

double:双线边框

groove:3D凹槽边框

ride: 3D垄状边框

inset:3D inset边框

outset:3D outset边框

比较常用的是none,dotted,dashed,solid,double