tryit_view.asp@filename=trycss_border-top-width

来自「W3Schools tutorial..web designing」· ASP@FILENAME=TRYCSS_BORDER-TOP-WIDTH 代码 · 共 23 行

ASP@FILENAME=TRYCSS_BORDER-TOP-WIDTH
23 行
字号
<html>
<head>
<style type="text/css">
p.one 
{
border-style: solid;
border-top-width: 15px
}
p.two 
{
border-style: solid;
border-top-width: thin
}
</style>
</head>

<body>
<p class="one"><b>Note:</b> The "border-top-width" property does not work if it is used alone. Use the "border-style" property to set the borders first.</p>
<p class="two">Some text. Some more text.</p>
</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?