可以(yi)使用以(yi)下的代碼實現:
```html
標簽
剩余文字
```
在CSS中,可以(yi)對`.label`和(he)`p`標簽(qian)進行樣式(shi)設(she)置,如下:
```css
.label {
padding: 5px 10px;
background-color: #ffa500;
color: #fff;
border-radius: 5px;
font-weight: bold;
}
p {
font-size: 16px;
line-height: 1.5;
color: #333;
}
```
其中,`.label`定義(yi)了標簽的(de)樣式,比如背景色、字體(ti)顏色、邊框圓角等(deng);`p`標簽定義(yi)了剩(sheng)余(yu)文字的(de)樣式,比如字體(ti)大小、行高(gao)、文字顏色等(deng)。
給我們留言