mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-08 21:22:48 +08:00
新增区块样式
This commit is contained in:
24
demo/blockquote.html
Normal file
24
demo/blockquote.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<fieldset class="layui-elem-field layui-field-title">
|
||||
<legend>更多风格的区块</legend>
|
||||
<div class="layui-field-box">
|
||||
<div class="ul-padding-md">
|
||||
<div class="layui-elem-quote layui-quote-gray">灰色区块</div>
|
||||
</div>
|
||||
<p class="layui-word-aux">需要layui.css</p>
|
||||
<p class="layui-word-aux">如果没有加载layui.css,在系统中添加如下样式:</p>
|
||||
|
||||
<pre class="layui-code demo-js"></pre>
|
||||
<style class="demo-js-src">
|
||||
.layui-elem-quote {
|
||||
margin-bottom: 10px;
|
||||
padding: 15px;
|
||||
line-height: 1.6;
|
||||
border-left: 5px solid #5FB878;
|
||||
border-radius: 0 2px 2px 0;
|
||||
background-color: #FAFAFA
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
</div>
|
||||
</fieldset>
|
||||
Reference in New Issue
Block a user