新增字符区块样式;

This commit is contained in:
2022-04-03 21:36:20 +08:00
parent c2fa94452c
commit eb101b4622
4 changed files with 38 additions and 0 deletions

15
demo/pc/fieldset.html Normal file
View File

@@ -0,0 +1,15 @@
<fieldset class="layui-elem-field layui-field-title">
<legend>字段集区块 - 横线风格</legend>
<div class="layui-field-box">
<div class="ul-padding-md">
<fieldset class="layui-elem-field layui-field-title ul-field-clean">
<legend class="legend">字段集区块 - 横线风格</legend>
<div class="layui-field-box">
内容区域<br>
内容区域<br>
内容区域<br>
</div>
</fieldset>
</div>
</div>
</fieldset>

View File

@@ -0,0 +1 @@
@import './ul-field-clean';

View File

@@ -0,0 +1,21 @@
.ul-field-clean {
border: unset;
.legend {
margin : 5px;
text-align : center;
width : 100%;
font-size : 16px;
font-weight: 600;
}
.layui-field-box {
margin-top : 8px;
background : #fff;
border-radius: 8px;
box-shadow : 0px 0px 4px rgba(77, 85, 114, 0.1);
padding: 10px
}
}

View File

@@ -2,6 +2,7 @@
@import './list/index';
@import './nav/index';
@import './form/index';
@import './fieldset/index';
/* 头部开始 */