Spring Boot实训开发个人博客2

一、页面设计与开发

(一)首页 - index.html

1.导航

在这里插入图片描述

2.中间内容(分左右两边)

  • 左边博客列表
    在这里插入图片描述
    在这里插入图片描述
    content中内容:
    在这里插入图片描述
  • 右边(分类,标签,最新推荐,二维码)
    分类:
    在这里插入图片描述
    标签:
    在这里插入图片描述
    最新推荐:
    在这里插入图片描述
    二维码:
    在这里插入图片描述

3.底部footer

在这里插入图片描述
在这里插入图片描述
红色括号中是导航中m-item样式

(二)样式 - me.css

body {
    background: url("../images/watercolor.png");
}

.m-padded-mini {
    padding: 0.2em !important;
}

.m-padded-tiny {
    padding: 0.3em !important;
}

.m-padded-tb-mini {
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}

.m-padded-tb-tiny {
    padding-top: 0.3em !important;
    padding-bottom: 0.3em !important;
}

.m-padded-tb-small {
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}

.m-padded-tb {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}

.m-padded-tb-large{
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}

.m-padded-tb-big {
    padding-top: 3em !important;
    padding-bottom: 3em !important;
}
.m-padded-tb-huge {
    padding-top: 4em !important;
    padding-bottom: 4em !important;
}
.m-padded-tb-massive {
    padding-top: 5em !important;
    padding-bottom: 5em !important;
}

/*-------text------*/
.m-text {
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    line-height: 1.8;
}

.m-text-thin {
    font-weight: 300 !important;
}
.m-text-spaced {
    letter-spacing: 1px !important;
}
.m-text-lined {
    line-height: 1.8;
}

/*------margin------*/
.m-margin-top-small {
    margin-top: 0.5em !important;
}

.m-margin-top {
    margin-top: 1em !important;
}

.m-margin-top-large {
    margin-top: 2em !important;
}

.m-margin-tb-tiny {   /*方法论23没有间隔效果*/
    margin-top: 0.3em !important;
    margin-bottom: 0.3em !important;
}

/*------opacity------*/
.m-opacity-mini {
    opacity: 0.8 !important;
}

.m-opacity-tiny {
    opacity: 0.6 !important;
}

/*------position------*/
.m-right-top {
    position: absolute;
    top: 0;
    right: 0;
}

/*------display-------*/
.m-inline-block {
    display: inline-block !important;
}

/*------container-------*/
.m-container {
    max-width: 72em !important;
    margin: auto !important;
}

/*------color-------*/
.m-black {
    color: #333 !important;
}

.m-mobile-show {
    display: none !important;
}

@media screen and (max-width: 768px){
    .m-mobile-hide {
        display: none !important;
    }
    .m-mobile-show {
        display: block !important;
    }
}

(三)运行页面

在这里插入图片描述

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值