CSS定义HR水平线的几种样式_文本链接特效
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> [size=1em] <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> [size=1em] <head> [size=1em] <title> [size=1em]CSS定义HR水平线 </title> [size=1em] <style type="text/css"> <!--
.hr0{ height:1px;border:none;border-top:1px dashed #0066CC;}
.hr1{ height:1px;border:none;border-top:1px solid #555555;}
.hr2{ height:3px;border:none;border-top:3px double red;}
.hr3{ height:5px;border:none;border-top:5px ridge green;}
.hr4{ height:10px;border:none;border-top:10px groove skyblue;} --> </style> [size=1em] </head> [size=1em] <body> [size=1em] <hr class="hr0" /> [size=1em] <hr class="hr1" /> [size=1em] <hr class="hr2" /> [size=1em] <hr class="hr3" /> [size=1em] <hr class="hr4" /> [size=1em] </body>
|