SpringBoot--个人博客--5.页面设计与开发--标签页

5.1笔记

<a href="#" class="active m-item item m-mobile-hide"><i class="tags icon"></i>标签</a>
  • active表示“标签”处于活跃状态
<div class="ui stackable grid">
   <div class="row">
   </div>
   <div class="row">
   </div>
   </div>
  • grid中可以用row分行

5.2代码

<!--中间内容-->
<div class="m-container-small m-padded-tb-big">
    <div class="ui container">
        <!--header-->
        <div class="ui top attached m-padded-lr-large segment">
            <div class="ui middle aligned two column grid">
                <div class="column">
                    <h3 class="ui teal header">标签</h3>
                </div>
                <div class="right aligned column"><h2 class="ui orange header m-inline-block m-text-thin">&nbsp14&nbsp;</h2></div>
            </div>
        </div>

        <div class="ui attached segment m-padded-tb-large">
            <a href="#" target="_blank" class="ui teal basic left pointing large label m-margin-tb-tiny">
                    方法论<div class="detail">23</div>
            </a>
            <a href="#" target="_blank" class="ui basic left pointing large label m-margin-tb-tiny">
                方法论<div class="detail">23</div>
            </a>
            <a href="#" target="_blank" class="ui basic left pointing large label m-margin-tb-tiny">
                方法论<div class="detail">23</div>
            </a>
            <a href="#" target="_blank" class="ui basic left pointing large label m-margin-tb-tiny">
                方法论<div class="detail">23</div>
            </a>
            <a href="#" target="_blank" class="ui basic left pointing large label m-margin-tb-tiny">
                方法论<div class="detail">23</div>
            </a>
        </div>

        <div class="ui top attached teal segment m-padded-lr-large">
            <div class="ui padded vertical segment m-padded-tb-large m-mobile-lr-clear">
                <div class="ui mobile reversed stackable grid">
                    <div class="eleven wide column">
                        <h3 class="ui header">疫情下的魔幻现实主义</h3>
                        <p class="m-text">所谓“魔幻现实主义”,就是看起来很魔幻,但实际上很现实。之所以认为这个世界太魔幻,是因为之前的认识不够现实。</p>
                        <div class="ui stackable grid">
                            <div class="row">
                                <div class="eleven wide column">
                                    <div class="ui mini horizontal link list">
                                        <div class="middle aligned item">
                                            <img src="https://i.picsum.photos/id/1014/6016/4000.jpg" alt="" class="ui avatar image">
                                            <div class="content"><a href="#" class="header">方一帆</a></div>
                                        </div>
                                        <div class="middle aligned item">
                                            <i class="calendar icon"></i>2020-02-04
                                        </div>
                                        <div class="middle aligned item">
                                            <i class="eye icon"></i>3412
                                        </div>
                                    </div>
                                </div>
                                <div class="middle aligned right aligned five wide column">
                                    <a href="#" target="_blank" class="ui teal basic label m-padded-tb-tiny m-text-thin">认知升级</a>
                                </div>
                            </div>
                            <div class="row">
                                <div class="column">
                                    <a href="#" class="ui basic teal left pointing label m-padded-tb-mini m-text-thin">方法论</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="five wide column">
                        <a href="#" target="_blank">
                            <img src="https://i.picsum.photos/id/1014/6016/4000.jpg" alt="" class="ui rounded image">
                        </a>
                    </div>
                </div>
            </div>
        </div>

        <div class="ui attached m-padded-lr-large segment">
            <div class="ui middle aligned two column grid">
                <div class="column">
                    <a href="#" class="ui mini teal basic button">上一页</a>
                </div>
                <div class="right aligned column">
                    <a href="#" class="ui mini teal basic button">下一页</a>
                </div>
            </div>
        </div>
    </div>
</div>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值