css邊框線屬性怎么設(shè)置,控制顏色、粗細(xì)、長短、虛線、實(shí)線、雙標(biāo)線屬性是那個(gè),邊框如何設(shè)置圓角加陰影效果
css如何設(shè)置邊框顏色
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>通高科技</title>
- <style>
- .num2{
- border-style: solid;
- border-width: 10px;
- border-color: aqua;
- }
- </style>
- </head>
- <body>
- <div class="num2">
- 邊框粗細(xì)
- </div>
- </body>
- </html>
css邊框線怎么設(shè)置粗細(xì)
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>通高科技</title>
- <style>
- .num2{
- border-style: solid;
- border-width: 10px;
- }
- </style>
- </head>
- <body>
- <div class="num2">
- 邊框粗細(xì)
- </div>
- </body>
- </html>
css怎么設(shè)置無邊框線
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>通高科技</title>
- <style>
- .num2{
- border-style: none;
- }
- </style>
- </head>
- <body>
- <div class="num2">
- 無邊框線
- </div>
- </body>
- </html>
css怎么設(shè)置雙線
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>通高科技</title>
- <style>
- .num2{
- border-style: double;
- }
- </style>
- </head>
- <body>
- <div class="num2">
- 雙線
- </div>
- </body>
- </html>
css怎么設(shè)置虛線
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>通高科技</title>
- <style>
- .num2{
- border-style: dashed;
- }
- </style>
- </head>
- <body>
- <div class="num2">
- 虛線
- </div>
- </body>
- </html>
css怎么設(shè)置實(shí)線
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>通高科技</title>
- <style>
- .num2{
- border-style: solid;
- }
- </style>
- </head>
- <body>
- <div class="num2">
- 實(shí)線
- </div>
- </body>
- </html>