点击登录看百科更方便!
CSS
WR百科 > 百科文库 > CSS
文字
font-size: 24px;
font-family: 'Times New Roman','KaiTi', 楷体, serif;
color: #fda602;
font-weight: bold;
尺寸
width: auto;
height: auto;
max-width: none;
max-height: none;
min-width: 0;
min-height: 0;
auto; /* 自动计算内容宽度 */
300px; /* 固定宽度 */
80%; /* 父元素宽度的 80% */
100vw; /* 视口宽度的 100% */
边框 边距
border: none;
border-width: medium;
border-style: none;
border-color: #fff;
border-radius: 0;
margin: 0;
padding: 0;
background: #fff;
background-color: transparent;
- <div class="hidden-xs"></div>
- <div class="visible-xs"></div>
阅读
2025-05-30更新
最新编辑:啃泥丝
阅读:
更新日期:2025-05-30
最新编辑:啃泥丝