编辑代码:
查看结果 »
试一试 - ©
w3ii.com
<
!DOCTYPE
html
>
<
html
>
<
head
>
<
style
>
p
{
border-top-style
:
dotted
;
border-right-style
:
solid
;
border-bottom-style
:
dotted
;
border-left-style
:
solid
;
}
<
/style
>
<
/head
>
<
body
>
<
p
>
2 different border styles.
<
/p
>
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <head> <style> p { border-top-style: dotted; border-right-style: solid; border-bottom-style: dotted; border-left-style: solid; } </style> </head> <body> <p>2 different border styles.</p> </body> </html>