效果图1

效果图1代码

<div class="bg-all"><div class="large-container"></div><el-row :gutter="20" class="footer"><el-col :span="24"><div class="text-footer"><span>请保持安静,耐心等候医生呼叫,过号、复诊患者请重新报道</span></div></el-col></el-row>
</div>.bg-all { background: #32a589; height: 100%; }
.large-container {position: absolute; left:10%; top:8%; width: 98%; height: 96%;transform: translate(-9%, -6%); padding: 20px 20px 0 20px; margin: 0;border-radius:30px; background-color: #fff;
}
.footer { position:absolute; bottom:28px; width: 99%; }
.text-footer { display: table-cell; vertical-align: middle; text-align: center;width: 2000px; height: 52px; color: #fff; background: #32a589; font-size: 30px;font-weight: bold; border-radius:10px;
}

效果图2

效果图2代码

<template><div class="container"><div class="currentPatients"><ul><li><div class="surname">李</div></li><li><span class="fullname">大家好</span></li><li><span class="call">HELLO WORLD</span></li></ul></div></div>
</template>
<style scoped>
body { margin: 0; }
li { list-style: none; }
.container { height: 100%; text-align: center; display: flex; align-items: center; justify-content: center; border: 10px solid #cc3366; }
.currentPatients { width: 80%; height: 80%; display: flex; align-items: center; justify-content: center; text-align: center; border: 10px solid #32a589; }
.surname { width: 180px; height: 180px; border: 1px solid #0000ff; border-radius: 50%; background: #32a589; display: flex; align-items: center; justify-content: center; text-align: justify; font-size: 120px; color: #fff; }
.fullname { color: #333; font-weight: bold; font-size: 45px; }
</style>

效果图3

效果图3代码

<template>
<div class="container1"><div class="user-activity"><div class="post"><div class="user-block"><img class="img-circle" :src="'https://wpimg.wallstcn.com/57ed425a-c71e-4201-9428-68760c0537c4.jpg'+avatarPrefix"><span class="username text-muted">Iron Man</span><span class="description">Shared publicly - 7:30 PM today</span></div><p>Lorem ipsum represents a long-held tradition for designers,typographers and the like. Some people hate it and argue forits demise, but others ignore the hate as they create awesometools to help create filler text for everyone from bacon loversto Charlie Sheen fans.</p><ul class="list-inline"><li><span class="link-black text-sm"><i class="el-icon-share" />Share</span></li><li><span class="link-black text-sm"><svg-icon icon-class="like" />Like</span></li></ul></div><div class="post"><div class="user-block"><img class="img-circle" :src="'https://wpimg.wallstcn.com/9e2a5d0a-bd5b-457f-ac8e-86554616c87b.jpg'+avatarPrefix"><span class="username text-muted">Captain American</span><span class="description">Sent you a message - yesterday</span></div><p>Lorem ipsum represents a long-held tradition for designers,typographers and the like. Some people hate it and argue forits demise, but others ignore the hate as they create awesometools to help create filler text for everyone from bacon loversto Charlie Sheen fans.</p><ul class="list-inline"><li><span class="link-black text-sm"><i class="el-icon-share" />Share</span></li><li><span class="link-black text-sm"><svg-icon icon-class="like" />Like</span></li></ul></div></div>
</div>
</template>
<script>
const avatarPrefix = '?imageView2/1/w/80/h/80'
const carouselPrefix = '?imageView2/2/h/440'export default {data() {return {carouselImages: ['https://wpimg.wallstcn.com/9679ffb0-9e0b-4451-9916-e21992218054.jpg','https://wpimg.wallstcn.com/bcce3734-0837-4b9f-9261-351ef384f75a.jpg','https://wpimg.wallstcn.com/d1d7b033-d75e-4cd6-ae39-fcd5f1c0a7c5.jpg','https://wpimg.wallstcn.com/50530061-851b-4ca5-9dc5-2fead928a939.jpg'],avatarPrefix,carouselPrefix}}
}
</script>
<style lang="scss" scoped>.user-activity {.user-block {.username,.description { display: block; margin-left: 50px; padding: 2px 0; }.username { font-size: 16px; color: #000; }:after { clear: both; }.img-circle { border-radius: 50%; width: 40px; height: 40px; float: left; }span { font-weight: 500; font-size: 12px; }}.post {font-size: 14px; border-bottom: 1px solid #d2d6de; margin-bottom: 15px; padding-bottom: 15px; color: #666;.image { width: 100%; height: 100%; }.user-images { padding-top: 20px; }}.list-inline { padding-left: 0; margin-left: -5px; list-style: none;li { display: inline-block; padding-right: 5px; padding-left: 5px; font-size: 13px; }.link-black {&:hover,&:focus { color: #999; }}}
}.box-center { margin: 0 auto; display: table; }
.text-muted { color: #777; }.container1 { height: 100%; border: 10px solid #32a589; padding: 12px; }
</style>

效果图4

效果图4代码

<template><div class="container1"><div class="el-timeline-item__content"><div class="el-card is-always-shadow"><div class="el-card__body"><h4>Update Github template</h4><p>PanJiaChen committed 2019/6/6 9:5</p></div></div></div><div class="el-timeline-item__content"><div class="el-card is-always-shadow"><div class="el-card__body"><h4>Update Github template</h4><p>PanJiaChen committed 2019/8/8 9:5</p></div></div></div>
</div>
</template><style lang="scss" scoped>
.container1 { height: 100%; border: 10px solid #32a589; padding: 12px; }
.el-timeline-item__content { color: #303133; padding-bottom: 20px; }
.el-card { border-radius: 4px; border: 1px solid #e6ebf5; background-color: #fff; overflow: hidden; color: #303133; -webkit-transition: .3s; transition: .3s; }
.el-card__body { padding: 20px; }
h4 { display: block; margin-block-start: 1.33em; margin-block-end: 1.33em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold; }
p { display: block; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px;}
</style>

效果图5【水平居中】

效果图5代码

<template><div class="container"><br /><div class="container1"><div class="el-timeline-item__content"><div class="el-card is-always-shadow"><div class="el-card__body"><p><el-button type="success" @click="big">大屏</el-button></p><h4>Update Github template</h4><p>PanJiaChen committed 2020/6/6 9:5</p></div></div></div></div></div>
</template><style lang="scss" scoped>
.container {margin: 0 auto;background-color: white;width: 1170px;
}
</style>

效果图6
参考网站

效果图6代码

<!DOCTYPE html>
<html>
<head><meta charset="utf-8" /><title></title>
</head>
<body><div class="width-1038"><div class="right soft_rightB yd_width"><div class="box box_odd"><h3>精品推荐</h3><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E6%88%91%E9%9F%B3%E4%B9%90%E7%9B%92_145538370.exe"><img src="http://semsrc.51xiazai.cn/d/imgjpg/61217bce0518b9e34c830813b6ac3e61.jpg" alt="酷我音乐盒" width="35"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E6%88%91%E9%9F%B3%E4%B9%90%E7%9B%92_145538370.exe" class="verstit">酷我音乐盒9.0.1.0官方版</a></p></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%A9%B1%E5%8A%A8%E7%B2%BE%E7%81%B5_145664990.exe"><img src="http://semsrc.51xiazai.cn/d/file/20180202/5a73bf1b92b40451811517535003.jpg" alt="驱动精灵" width="35"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%A9%B1%E5%8A%A8%E7%B2%BE%E7%81%B5_145664990.exe" class="verstit">驱动精灵9.61.201.1405官方版</a></p></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E7%8E%8B%E8%80%85%E8%8D%A3%E8%80%80_145762293.exe"><img src="http://semsrc.51xiazai.cn/d/file/hj_51_img/c7835fb2b1ab17b9fea260ab7b57e704.jpg" alt="王者荣耀" width="35"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E7%8E%8B%E8%80%85%E8%8D%A3%E8%80%80_145762293.exe" class="verstit">王者荣耀2.1.1 电脑版</a></p></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%92%8C%E5%B9%B3%E7%B2%BE%E8%8B%B1_145762311.exe"><img src="http://semsrc.51xiazai.cn/d/file/p/2019-05-08/c1bffc2059c5dc1afc163e9068fb517c.png" alt="和平精英" width="35"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%92%8C%E5%B9%B3%E7%B2%BE%E8%8B%B1_145762311.exe" class="verstit">和平精英1.1.16</a></p></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E8%85%BE%E8%AE%AF%E6%89%8B%E6%B8%B8%E5%8A%A9%E6%89%8B_145762884.exe"><img src="http://semsrc.51xiazai.cn/d/file/dnb/casual/2020-06-22/520b83d14f6bf4e1b704f5d48ab9244d.jpg" alt="腾讯手游助手" width="35"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E8%85%BE%E8%AE%AF%E6%89%8B%E6%B8%B8%E5%8A%A9%E6%89%8B_145762884.exe" class="verstit">腾讯手游助手官方版</a></p></dd></dl></div></div></div><style>html{font-size:12px;font-family:Microsoft YaHei;}.width-1038{margin-right:auto;margin-left:auto;width:1038px!important;}body,dd,dl,form,h1,h2,h3,h4,h5,h6,input,ol,p,select,textarea,ul{margin:0;padding:0;}ol,ul{list-style:none;}img{border:none;}a{text-decoration:none;cursor:pointer;}h1,h2,h3,h4,h5,h6{font-size:1em;}em,i{font-style:normal;}.right{float:right;width:300px;}.soft_rightB a{color:#575757;}.soft_rightB .box{margin-bottom:20px;padding-bottom:15px;border:1px solid #eee;background:#fff;}.soft_rightB .box h3{position:relative;margin-bottom:8px;padding-left:20px;border-bottom:1px solid #ddd;color:#0199dc;font-weight:400;font-size:18px;line-height:50px;}.soft_rightB .box dl{overflow:hidden;padding:10px 20px;}.soft_rightB .box dt{float:left;padding-right:10px;width:45px;}.soft_rightB .box dd p{float:left;width:130px;color:#999;font-size:12px;}.soft_rightB .box .softph span,.soft_rightB .box dd span{float:right;margin-top:10px;width:56px;height:23px;border:1px solid #47b751;border-radius:5px;color:#47b751;text-align:center;font-size:12px;line-height:23px;}.soft_rightB .box dd p .verstit{display:block;overflow:hidden;margin-bottom:5px;text-overflow:ellipsis;white-space:nowrap;font-size:14px;}.soft_rightB .box .softph span a,.soft_rightB .box dd span a{display:block;color:#47b751;text-decoration:none;}.yd_width{position:absolute;top:150px;width:270px;}.yd_width .box dl{padding:2px 5px!important;}.yd_width .box h3{border-bottom:none!important;line-height:35px!important;}.yd_width .box dt{padding-right:0!important;}.yd_width .box dd p{width:70%!important;line-height:30px;}</style>
</body>
</html>

效果图7
参考网站

效果图7代码

<!DOCTYPE html>
<html>
<head><meta charset="utf-8" /><title></title>
</head>
<body><br /><br /><br /><div class="width-1038"><div class="sortsList downdecail clearfix"><div class="left"><div class="softwarejs softALL" id="softjs"><div class="softwaretwo clearfix"><div class="comlist"><h3>精品软件</h3><ul><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E7%94%B5%E8%84%91%E7%89%88_145401020.exe"><img src="http://semsrc.51xiazai.cn/d/file/hj_51_img/20171014/59e18be0de372344081507953632.jpg" alt="QQ电脑版" width="45"><p><span>QQ电脑版</span>20-09-08</p></a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/photoshop_145415170.exe"><img src="http://semsrc.51xiazai.cn/d/file/p/2016-10-18/2c13e177b0fc20c586e08722530827de.jpg" alt="photoshop" width="45"><p><span>photoshop</span>20-05-22</p></a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E7%8B%97%E9%9F%B3%E4%B9%90_145415231.exe"><img src="http://semsrc.51xiazai.cn/d/file/p/2016-12-28/b8e91467dd69eb93e0b5a1da232312b3.jpg" alt="酷狗音乐" width="45"><p><span>酷狗音乐</span>20-06-15</p></a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E7%88%B1%E5%A5%87%E8%89%BA%E8%A7%86%E9%A2%91_145415268.exe"><img src="http://semsrc.51xiazai.cn/d/file/pcsoftware/shprj/2019-10-28/small322261e4a1490da8c221ab63b7b70ee41572252719.png" alt="爱奇艺视频" width="45"><p><span>爱奇艺视频</span>20-07-07</p></a></li></ul></div><div class="comlist"><h3>好评软件</h3><ul><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%BE%AE%E4%BF%A1%E7%94%B5%E8%84%91%E7%89%88_145416146.exe"><img src="http://semsrc.51xiazai.cn/Public/images/softimg/590000/585734s.jpg" alt="微信电脑版" width="45"><p><span>微信电脑版</span>20-09-08</p></a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E4%B8%87%E8%83%BD%E4%BA%94%E7%AC%94%E8%BE%93%E5%85%A5%E6%B3%95_145516800.exe"><img src="http://semsrc.51xiazai.cn/images/pc_imges/pc_12/592ec10fdf1e0991291496236303.png" alt="万能五笔输入法" width="45"><p><span>万能五笔输入法</span>20-09-08</p></a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/Office%20365_145585641.exe"><img src="http://semsrc.51xiazai.cn/d/imgjpg/ec2e00e46a8cf06881d9f8a7561f5631.jpg" alt="Office 365" width="45"><p><span>Office 365</span>20-05-29</p></a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%92%89%E9%92%89%E5%AE%98%E6%96%B9%E7%94%B5%E8%84%91%E7%89%88_145762086.exe"><img src="http://semsrc.51xiazai.cn/d/imgjpg/bd3584ef291cb7d8d1a313933ea9392c.jpg" alt="钉钉官方电脑版" width="45"><p><span>钉钉官方电脑版</span>20-09-09</p></a></li></ul></div></div></div></div><div class="right soft_rightB"><div class="box box_odd"><h3>热搜推荐<span class="em1"></span></h3><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E6%B8%B8%E6%88%8F%E5%A4%A7%E5%8E%852015_145359488.exe"><img src="http://semsrc.51xiazai.cn/d/file/hj_51_img/20150923/2014917172958.jpg" alt="QQ游戏大厅2015" width="45"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E6%B8%B8%E6%88%8F%E5%A4%A7%E5%8E%852015_145359488.exe" class="verstit">QQ游戏大厅2015</a>45.0MB / 18-06-28</p><span><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E6%B8%B8%E6%88%8F%E5%A4%A7%E5%8E%852015_145359488.exe">点击下载</a></span></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E4%B8%AD%E6%96%87%E7%94%B5%E8%84%91%E7%89%88_145407147.exe"><img src="http://semsrc.51xiazai.cn/d/file/hj_51_img/449996e7d43f2b2859bb0922f55da565.jpg" alt="我的世界中文电脑版" width="45"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E4%B8%AD%E6%96%87%E7%94%B5%E8%84%91%E7%89%88_145407147.exe" class="verstit">我的世界中文电脑版</a>38.85MB / 19-11-22</p><span><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%88%91%E7%9A%84%E4%B8%96%E7%95%8C%E4%B8%AD%E6%96%87%E7%94%B5%E8%84%91%E7%89%88_145407147.exe">点击下载</a></span></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E4%B9%90%E6%92%AD%E6%8A%95%E5%B1%8FPC%E7%89%88_145551221.exe"><img src="http://semsrc.51xiazai.cn/d/file/p/2019-09-10/4771c85ff687a46db061b2476ff36a9c.jpg" alt="乐播投屏PC版" width="45"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E4%B9%90%E6%92%AD%E6%8A%95%E5%B1%8FPC%E7%89%88_145551221.exe" class="verstit">乐播投屏PC版</a>14.3MB / 20-07-17</p><span><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E4%B9%90%E6%92%AD%E6%8A%95%E5%B1%8FPC%E7%89%88_145551221.exe">点击下载</a></span></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/2345%E7%9C%8B%E5%9B%BE%E7%8E%8B_145559992.exe"><img src="http://semsrc.51xiazai.cn/d/file/p/2016-11-08/729cc1d0abaf09560a974af30d3ed1b2.jpg" alt="2345看图王" width="45"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/2345%E7%9C%8B%E5%9B%BE%E7%8E%8B_145559992.exe" class="verstit">2345看图王</a>19.5 MB / 20-06-30</p><span><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/2345%E7%9C%8B%E5%9B%BE%E7%8E%8B_145559992.exe">点击下载</a></span></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%97%A8%E6%A0%BC%E5%BC%8F%E5%BD%95%E5%B1%8F%E5%A4%A7%E5%B8%88%E8%BD%AF%E4%BB%B6_145609258.exe"><img src="http://semsrc.51xiazai.cn/d/imgjpg/1e16d56a73aa444311eea1df4cb1669d.jpg" alt="嗨格式录屏大师软件" width="45"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%97%A8%E6%A0%BC%E5%BC%8F%E5%BD%95%E5%B1%8F%E5%A4%A7%E5%B8%88%E8%BD%AF%E4%BB%B6_145609258.exe" class="verstit">嗨格式录屏大师软件</a>1.21MB / 19-11-01</p><span><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%97%A8%E6%A0%BC%E5%BC%8F%E5%BD%95%E5%B1%8F%E5%A4%A7%E5%B8%88%E8%BD%AF%E4%BB%B6_145609258.exe">点击下载</a></span></dd></dl><dl><dt><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/WPS2019_145762826.exe"><img src="http://semsrc.51xiazai.cn/d/file/pcsoftware/bgrj/2020-03-12/c5075552a32792a7203e02d5b2d8eb3d.jpg" alt="WPS2019" width="45"></a></dt><dd><p><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/WPS2019_145762826.exe" class="verstit">WPS2019</a>102MB / 20-03-12</p><span><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/WPS2019_145762826.exe">点击下载</a></span></dd></dl></div></div></div></div><style>html{font-size:12px;font-family:"Microsoft YaHei";}.width-1038{margin-right:auto;margin-left:auto;width:1038px!important;}body,dd,dl,form,h1,h2,h3,h4,h5,h6,input,ol,p,select,textarea,ul{margin:0;padding:0;}ol,ul{list-style:none;}img{border:none;}a{text-decoration:none;cursor:pointer;}h1,h2,h3,h4,h5,h6{font-size:1em;}em,i{font-style:normal;}.clearfix:after,.clearfix:before{display:table;content:" ";}.clearfix:after{clear:both;}.hide{display:none;}.downdecail .left{float:left;padding:0;width:728px;border:none;border:1px solid #80c3ec;/*border-top:none;*/background-color:#fff;}.sortsList .right{float:right;width:300px;}.downdecail .softALL{padding-top:15px;}.softALL .comlist{float:left;margin-left:18px;width:338px;}.softALL .softwaretwo{margin-bottom:20px;}.softALL .comlist h3{padding-left:16px;height:36px;border-bottom:1px dashed #ddd;color:#999;font-size:16px;line-height:36px;}.softALL .comlist ul{overflow:hidden;padding:5px 0;}.softALL .comlist ul li{float:left;margin:10px 0;padding-left:10px;width:145px;height:35px;}.softALL .comlist ul li a{text-decoration:none;}.softALL .comlist ul li img{float:left;margin-right:10px;width:35px;}.softALL .comlist ul p{overflow:hidden;color:#999;text-overflow:ellipsis;white-space:nowrap;font-size:12px;}.softALL .comlist ul p span{display:block;margin-bottom:2px;color:#999;font-size:12px;}.em1{display:inline-block;width:18px;height:18px;background:url(/src_sem/images/360_maricon.png) no-repeat;background-size:100%;}.soft_rightB a{color:#575757;}.soft_rightB .box{margin-bottom:20px;padding-bottom:15px;border:1px solid #eee;background:#fff;}.soft_rightB .box h3{position:relative;margin-bottom:8px;padding-left:20px;border-bottom:1px solid #ddd;color:#0199dc;font-weight:400;font-size:18px;line-height:50px;}.soft_rightB .box dl{overflow:hidden;padding:10px 20px;}.soft_rightB .box dt{float:left;padding-right:10px;width:45px;}.soft_rightB .box dd p{float:left;width:130px;color:#999;font-size:12px;}.soft_rightB .box .softph span,.soft_rightB .box dd span{float:right;margin-top:10px;width:56px;height:23px;border:1px solid #47b751;border-radius:5px;color:#47b751;text-align:center;font-size:12px;line-height:23px;}.soft_rightB .box dd p .verstit{display:block;overflow:hidden;margin-bottom:5px;text-overflow:ellipsis;white-space:nowrap;font-size:14px;}.soft_rightB .box .softph span a,.soft_rightB .box dd span a{display:block;color:#47b751;text-decoration:none;}</style>
</body>
</html>

效果图8

效果图8代码

<!DOCTYPE html>
<html>
<head><meta charset="utf-8" /><title></title>
</head>
<body><div class="sem_pop_box" style="display: block;"><p>腾讯视频正在下载中,其他用户还下载了</p><a href="javascript:void(0);" target="_self" class="close">关闭</a><ul id="sw_list1"><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%BE%AE%E4%BF%A1_153415038.exe" title="微信"><img src="http://semsrc.51xiazai.cn/d/file/p/2016-09-19/ba72ca83f8bdb5901d6783f7cb2252cb.png" alt="微信" title="微信"><span>微信</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%BE%AE%E4%BF%A1_153415038.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E8%85%BE%E8%AE%AF%E8%A7%86%E9%A2%91_153551699.exe" title="腾讯视频"><img src="http://semsrc.51xiazai.cn/d/file/p/2019-09-20/2f9239e34073b17810bd4e45cb128c8d.jpg" alt="腾讯视频" title="腾讯视频"><span>腾讯视频</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E8%85%BE%E8%AE%AF%E8%A7%86%E9%A2%91_153551699.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%92%8C%E5%B9%B3%E7%B2%BE%E8%8B%B1_153762311.exe" title="和平精英"><img src="http://semsrc.51xiazai.cn/d/file/p/2019-05-08/c1bffc2059c5dc1afc163e9068fb517c.png" alt="和平精英" title="和平精英"><span>和平精英</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%92%8C%E5%B9%B3%E7%B2%BE%E8%8B%B1_153762311.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E7%8B%97%E9%9F%B3%E4%B9%90_153415231.exe" title="酷狗音乐"><img src="http://semsrc.51xiazai.cn/d/file/p/2016-12-28/b8e91467dd69eb93e0b5a1da232312b3.jpg" alt="酷狗音乐" title="酷狗音乐"><span>酷狗音乐</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E7%8B%97%E9%9F%B3%E4%B9%90_153415231.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E6%B8%B8%E6%88%8F%E5%A4%A7%E5%8E%85_153415218.exe" title="QQ游戏大厅"><img src="http://semsrc.51xiazai.cn/d/file/p/2017-02-08/f45f6da702bfe0f41197623a4fb9b83e.png" alt="QQ游戏大厅" title="QQ游戏大厅"><span>QQ游戏</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E6%B8%B8%E6%88%8F%E5%A4%A7%E5%8E%85_153415218.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E4%B8%87%E8%83%BD%E4%BA%94%E7%AC%94%E8%BE%93%E5%85%A5%E6%B3%95_153516800.exe" title="万能五笔输入法"><img src="http://semsrc.51xiazai.cn/images/pc_imges/pc_12/592ec10fdf1e0991291496236303.png" alt="万能五笔输入法" title="万能五笔输入法"><span>万能五笔</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E4%B8%87%E8%83%BD%E4%BA%94%E7%AC%94%E8%BE%93%E5%85%A5%E6%B3%95_153516800.exe" class="download_btn" target="_self">下载</a></li><li class="current_software"><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%AD%A6%E4%B9%A0%E9%80%9A_153411990.exe" title="学习通"><img src="http://semsrc.51xiazai.cn/d/file/hj_51_img/72_72_20161223092154_7246.png" alt="学习通" title="学习通"><span>学习通</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E5%AD%A6%E4%B9%A0%E9%80%9A_153411990.exe" class="download_btn" target="_self">下载</a></li></ul><ul id="sw_list2"><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E9%9F%B3%E4%B9%90_153415039.exe" title="QQ音乐"><img src="http://semsrc.51xiazai.cn/d/file/p/2017-02-16/b6e7078b35de77cba92658c5af94db88.png" alt="QQ音乐" title="QQ音乐"><span>QQ音乐</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/QQ%E9%9F%B3%E4%B9%90_153415039.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E8%85%BE%E8%AE%AFQQ_153415155.exe" title="腾讯QQ"><img src="http://semsrc.51xiazai.cn/Public/images/softimg/30000/20355s.jpg" alt="腾讯QQ" title="腾讯QQ"><span>腾讯QQ</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E8%85%BE%E8%AE%AFQQ_153415155.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E7%88%B1%E5%A5%87%E8%89%BA%E8%A7%86%E9%A2%91_153415268.exe" title="爱奇艺视频"><img src="http://semsrc.51xiazai.cn/d/file/pcsoftware/shprj/2019-10-28/small322261e4a1490da8c221ab63b7b70ee41572252719.png" alt="爱奇艺视频" title="爱奇艺视频"><span>爱奇艺视</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E7%88%B1%E5%A5%87%E8%89%BA%E8%A7%86%E9%A2%91_153415268.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/WPS2019_153762826.exe" title="WPS2019"><img src="http://semsrc.51xiazai.cn/d/file/pcsoftware/bgrj/2020-03-12/c5075552a32792a7203e02d5b2d8eb3d.jpg" alt="WPS2019" title="WPS2019"><span>WPS2</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/WPS2019_153762826.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%8A%96%E9%9F%B3%E7%94%B5%E8%84%91%E7%89%88_153762966.exe" title="抖音电脑版"><img src="http://semsrc.51xiazai.cn/d/file/pcsoftware/shprj/2020-08-25/dc28240765991d7f70769c89947d28a4.jpg" alt="抖音电脑版" title="抖音电脑版"><span>抖音电脑</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%8A%96%E9%9F%B3%E7%94%B5%E8%84%91%E7%89%88_153762966.exe" class="download_btn" target="_self">下载</a></li><li><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E6%88%91%E9%9F%B3%E4%B9%90%E7%9B%92_153538370.exe" title="酷我音乐盒"><img src="http://semsrc.51xiazai.cn/d/imgjpg/61217bce0518b9e34c830813b6ac3e61.jpg" alt="酷我音乐盒" title="酷我音乐盒"><span>酷我音乐</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E9%85%B7%E6%88%91%E9%9F%B3%E4%B9%90%E7%9B%92_153538370.exe" class="download_btn" target="_self">下载</a></li><li class="current_software"><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%90%9C%E7%8B%97%E8%BE%93%E5%85%A5%E6%B3%95_153415042.exe" title="搜狗输入法"><img src="http://semsrc.51xiazai.cn/d/file/p/2016-10-25/9eb557a13a48e5aac376d7222e4d55cb.jpg" alt="搜狗输入法" title="搜狗输入法"><span>搜狗输入</span></a><a href="https://sm0b.oss-cn-beijing.aliyuncs.com/download/%E6%90%9C%E7%8B%97%E8%BE%93%E5%85%A5%E6%B3%95_153415042.exe" class="download_btn" target="_self">下载</a></li></ul></div><style>*{margin:0 auto;padding:0;}a,li,ul{text-decoration:none;}.sem_pop_box{position:fixed;top:50%;left:50%;display:none;box-sizing:border-box;padding:15px 19px;width:640px;height:380px;border:1px solid #ddd;border-radius:8px;background-color:#fff;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);}.sem_pop_box p{padding-bottom:6px;color:#7f7f7f;font-weight:bolder;font-size:20px;}.sem_pop_box .close{position:absolute;top:0;right:0;display:inline-block;padding:5px 12px;border-top-right-radius:8px;background-color:#8f8f8f;color:#fff;}.sem_pop_box ul{font-size:0;}.sem_pop_box ul li{display:inline-block;margin:20px auto;width:16.3%;font-size:14px;}.sem_pop_box ul li.current_software{display:none;}.sem_pop_box ul li a{display:block;width:100%;text-align:center;}.sem_pop_box ul li a img{display:block;width:60px;height:60px;border-radius:8px;}.sem_pop_box ul li a span{display:inline-block;overflow:hidden;box-sizing:border-box;padding:10px 0;width:68px;height:33px;color:#333;text-overflow:'';white-space:nowrap;font-size:14px;}.sem_pop_box ul li .download_btn{box-sizing:border-box;padding:4px 8px;width:60%;border:1px solid green;border-radius:4px;color:green;text-align:center;}</style>
</body>
</html>

效果图9

效果图9代码

<template>
<el-container style="height: 500px; border: 1px solid #eee"><el-aside width="200px" style="background-color: rgb(238, 241, 246)"><el-menu :default-openeds="['1', '3']"><el-submenu index="1"><template slot="title"><i class="el-icon-message"></i>导航一</template><el-menu-item-group><template slot="title">分组一</template><el-menu-item index="1-1">选项1</el-menu-item><el-menu-item index="1-2">选项2</el-menu-item></el-menu-item-group><el-menu-item-group title="分组2"><el-menu-item index="1-3">选项3</el-menu-item></el-menu-item-group><el-submenu index="1-4"><template slot="title">选项4</template><el-menu-item index="1-4-1">选项4-1</el-menu-item></el-submenu></el-submenu><el-submenu index="2"><template slot="title"><i class="el-icon-menu"></i>导航二</template><el-menu-item-group><template slot="title">分组一</template><el-menu-item index="2-1">选项1</el-menu-item><el-menu-item index="2-2">选项2</el-menu-item></el-menu-item-group><el-menu-item-group title="分组2"><el-menu-item index="2-3">选项3</el-menu-item></el-menu-item-group><el-submenu index="2-4"><template slot="title">选项4</template><el-menu-item index="2-4-1">选项4-1</el-menu-item></el-submenu></el-submenu><el-submenu index="3"><template slot="title"><i class="el-icon-setting"></i>导航三</template><el-menu-item-group><template slot="title">分组一</template><el-menu-item index="3-1">选项1</el-menu-item><el-menu-item index="3-2">选项2</el-menu-item></el-menu-item-group><el-menu-item-group title="分组2"><el-menu-item index="3-3">选项3</el-menu-item></el-menu-item-group><el-submenu index="3-4"><template slot="title">选项4</template><el-menu-item index="3-4-1">选项4-1</el-menu-item></el-submenu></el-submenu></el-menu></el-aside><el-container><el-header style="text-align: right; font-size: 12px"><el-dropdown><i class="el-icon-setting" style="margin-right: 15px"></i><el-dropdown-menu slot="dropdown"><el-dropdown-item>查看</el-dropdown-item><el-dropdown-item>新增</el-dropdown-item><el-dropdown-item>删除</el-dropdown-item></el-dropdown-menu></el-dropdown><span>阿龙</span></el-header><el-main><el-table :data="tableData"><el-table-column prop="date" label="日期" width="140"></el-table-column><el-table-column prop="name" label="姓名" width="120"></el-table-column><el-table-column prop="address" label="地址"></el-table-column></el-table></el-main><el-footer><el-pagination layout="prev, pager, next" :total="1000"></el-pagination></el-footer></el-container>
</el-container>
</template>
<script>export default {data() {const item = { date: '2016-05-02', name: '阿龙', address: '上海市普陀区金沙江路 1518 弄' }return { tableData: Array(20).fill(item) }}}
</script>
<style>.el-header { background-color: #B3C0D1;color: #333;line-height: 60px; }.el-aside { color: #333; }
</style>

水平居中

<div v-show="wishVisible" class="wish"><div class="user-activity-logo"></div>
</div><style>
.wish {width: 100%;height: 1920px;text-align: center; display: flex; justify-content: center; background-image: url('../../assets/images/smallwait.jpg');background-size: 100% 100%;background-repeat: no-repeat;
}
.user-activity-logo {position: absolute;top: 60px;
}
</style>

水平垂直居中

<div v-show="wishVisible" class="wish"><div class="user-activity-logo"></div>
</div><style>
.wish {width: 100%;height: 1920px;text-align: center; display: flex; align-items: center; justify-content: center;background-image: url('../../assets/images/smallwait.jpg');background-size: 100% 100%;background-repeat: no-repeat;
}
.user-activity-logo {position: absolute;top: 60px;
}
</style>

*
通用

/* 通用*/
* { margin: 0; padding: 0; }
a { color:#333333; text-decoration:none;}
a:hover { color:#cc0100;}
ul,ol,dl { list-style:none;}
img { border:none;}
body { font-family:"宋体"; font-size:12px; font-weight:normal;}
h1,h2,h3,h4,h5,h6 { font-family:"宋体"; font-size:12px; font-weight:normal;}
#box { width:980px; margin:0 auto;}
.main{ width:980px; float:left; margin-top:6px;}.member_menu { width:175px; height:auto; float:left; background:url(../images/member/menu_db.gif) no-repeat left bottom #ffffff; margin-top:5px;}
.member_menu h3 { width:167px; height:25px; line-height:210%; float:left; font-size:12px; font-weight:bold; background:url(../images/member/menu_bg.gif) repeat-x left top; border-bottom:1px solid #E8EAEB; border-top:1px solid #E8EAEB; padding-left:8px; overflow:hidden;}
.member_menu ul { width:175px; float:left; padding-top:10px; padding-bottom:6px;}
.member_menu ul li { width:150px; height:25px; line-height:180%; float:left; background:url(../images/member/dian.gif) no-repeat 13px 7px; padding-left:25px;}.latest_fabric { width:181px; height:250px; float:left; background:url(../images/wishing/wish_13.gif) no-repeat;}
.latest_fabric ul { width:163px; float:left; padding:8px 9px 0px 9px;}
.latest_fabric ul li { width:163px; float:left;}
.latest_fabric ul li a { height:18px; float:left; line-height:18px; margin-top:6px; overflow:hidden;}
.latest_fabric ul li img { width:125px; height:135px; float:left; margin-left:19px; display:inline;}
.latest_fabric ul li i { width:163px; height:34px; float:left; line-height:17px; margin-top:6px; font-style:normal;}.theme_content ul { width:437px; float:left; padding-left:8px;}
.theme_content ul li { width:122px; height:188px; overflow:hidden; float:left; line-height:16px; margin-left:18px; display:inline; text-align:center;}
.theme_content ul li .years { width:122px; float:left; height:32px; overflow:hidden;}
.theme_content ul li img{padding:1px; border:1px solid #e1e1e1;display:block; margin-bottom:5px;}
.theme_content ul li a:hover img{padding:0; border:2px solid #ffbeaa;}
.theme_content ul li span{ display:block; height:32px; padding:0 5px; text-align:center; overflow:hidden;}
.theme_content ul li samp{ width:122px; float:left; color:#cc0100; height:16px;text-align:center; display:block; padding-top:3px;}
.theme_content ul li samp i { font-style:normal; color:#0368B0; font-family:"宋体";}.link { width:980px; float:left;}
.link_title { width:980px; height:27px; float:left; background:url(../images/register02.gif) repeat-x left top;}
.link_title b { width:12px; height:27px; float:left; background:url(../images/register01.gif) no-repeat left top;}
.link_title h2 {width:257px; height:27px; line-height:200%; overflow:hidden; float:left; font-size:14px; font-weight:bold; color:#CE0000; background:url(../images/register04.gif) no-repeat 3px center; padding-left:21px;}
.link_title span { width:690px; height:27px; float:left; background:url(../images/register03.gif) no-repeat right top;}
.link_img { width:978px; float:left; border:1px solid #D2D2D2; background:url(../images/link_01.gif) repeat-x left top; padding:10px 0px 10px 0px;}
.link_img ul { width:973px; float:left; padding:3px 0px 0px 5px;}
.link_img ul li { width:150px; height:50px; float:left; border:1px solid #E1E1E1; margin:0px 0px 8px 8px; display:inline;}
.link_img ul li img { width:150px; height:50px; float:left;}.link_img ol { width:973px; float:left; padding:10px 0px 0px 0px;}
.link_img ol li { width:135px; height:21px; float:left; margin:0px 0px 10px 13px; display:inline; background:url(../images/link_03.gif) no-repeat 3px center; padding-left:13px;}
.link_img ol li a { color:#0368B0; line-height:21px; font-size:14px;}
.link_img ol li a:hover { text-decoration:underline;}.foot{ width:100%; float:left; margin:0 0 0 0;}
.footer{ width:100%; margin:6px 0 0 0;}
.footer span { float:left;}
.footer_list{ background:url(../images/inp32_06.gif) repeat-x; float:left; width:978px; padding:0 0 18px 0; border:1px solid #d2d2d2; border-top:none;}
.footer_list ul li{ height:169px; border-left:1px dashed #cccccd; float:left; width:164px; margin:0 6px 0 -1px; line-height:18px; padding:0 0 0 24px; display:inline;}
.footer_list ul li span{ display:block; height:22px; overflow:hidden;}
.footer_list h3{ width:124px; float:left; background:url(../images/inp33_03.gif) no-repeat; padding:0 0 0 16px; margin:4px 0 0 14px; display:inline;}
.footer_list h3 a{ color:#666666;}
.footer_list ol{ float:left; padding:10px 0 0 34px; width:944px;}
.footer_list ol img{ float:left;}#nav { margin: 0 auto; width: 608px; height: 92px; border: 1px solid #000; }
#nav ul { list-style: none; }
#nav li { display: inline; text-align: center; width: 150px; float: left; border: 1px solid #000; }

*
*
*

CSS 常用样式 水平居中 水平垂直居中 Container布局相关推荐

  1. CSS中让元素水平垂直居中的6种写法

    水平垂直居中 水平居中 水平垂直居中--flex布局 margin + position:absolute布局 transform + absolute absolute + margin负值 abs ...

  2. css设置图标居左_「css图片居中」css - 常用 垂直/水平居中 + 左右布局 - seo实验室...

    css图片居中 主要内容 学习文献 元素居中 胡子哥 - 谈一谈我在阿里的成长 + 2 左右布局 几种常见的CSS布局 -- 掘金 BFC 实现三栏布局的几种方法-- github 实现多列等高布局 ...

  3. 1-2 CSS常用样式笔记

    文章目录 CSS常用样式 字体属性 文本属性 盒模型属性 宽度width 高度height 内边距padding 边框border 外边距margin 盒模型拓展应用 清除默认样式 高度height应 ...

  4. css常用样式(文字样式、边框样式、背景样式)

    CSS常用样式 CSS常用文字样式 color: brown; /*文字颜色*/ /*color: #333333;这样的也可以,这种颜色的表示方法是RGB的方式,没两位数表示一种颜色的度数, 一般情 ...

  5. CSS display: table-cell 用于水平垂直居中

    CSS display: table-cell 用于水平垂直居中 在 CSS 设置居中时候,水平和垂直居中的设置略有不同,通常我们使用 text-align:center 对图片.文字等行内元素(in ...

  6. CSS常用样式属性有哪些?代码怎么写?

    CSS常用样式属性有哪些?CSS样式属性有两种分别是局常用样式属性和文本常用样式属性,CSS的作用是美化HTML网页和控制页面布局,我们需要掌握这两种常用的样式属性来美化页面.一套教程,带你轻松掌握H ...

  7. css图片居中(水平居中和垂直居中)

    css图片居中(水平居中和垂直居中) css图片居中分css图片水平居中和垂直居中两种情况,有时候还需要图片同时水平垂直居中,下面分几种居中情况分别介绍. css图片水平居中 利用margin: 0 ...

  8. dw中css目标规则命名,css 常用样式命名规则

    大家在写css的时候,对一些html标签起一个合适的名字是个很头疼的事情,现在给大家分享项目中常用的名字供参考. 外套:wrap  --用于最外层 头部:header  --用于头部 主要内容:mai ...

  9. css文字向右对齐_web前端入门到实战:css常用样式对文本的处理演练

    CSS文本属性可定义文本的外观,这是毫无疑问的,其次css可以通过以下属性改变文字的排版,比方说letter-spacing实现字符间距text-indent: 2em;完成首行缩进2字符word-s ...

最新文章

  1. bootstrap 冻结表格,冻结表头
  2. junit 测试矩阵的幂
  3. win7电脑蓝牙 耳机
  4. php 数字转中文函数 1转一,一个阿拉伯数字转中文数字的函数-PHP教程,PHP函数
  5. Opencv step by step - 加载视频
  6. java不可变量有哪些_5.Java变量
  7. 牛客网-剑指offer 第一题(二维数组中的查找)
  8. “非IE内核浏览器”第一阶段开发计划发布
  9. Android开发笔记(一百三十一)水波图形与水波动画
  10. oracle 用户被锁定解决方法
  11. 【转】密码经济学: 区块链技术前景之路基
  12. [推荐电子图书]-[jquery视频教程 初级+高级][25课程]
  13. Proe调入ansys中单位的协调
  14. sql 遇到多个重复列名报错:Ambiguous column reference ***
  15. 保龄球记分程序c语言,保龄球的计分规则和比赛规则
  16. 千锋python培训多久
  17. 提取文字的三种方法你知道吗?
  18. 图片内容巴特勒 (隐藏文字到图片)
  19. 【报告分享】2019中国高科技高成长50强暨明日之星年度报告.pdf(附下载链接)
  20. 场景化学习——适应这个时代的学习方式

热门文章

  1. 【PIG】pig4cloud整合 knife4j
  2. 【调剂】江苏科技大学2023年硕士研究生招生拟调剂公告
  3. 大数据架构详解学习笔记
  4. 有限元方法求解一维扩散方程(FEALPy)
  5. exchange 2007客户端outlook express邮件和接收邮件的设置
  6. python挂科了要重修吗_选修课挂科有什么影响 需要重修吗
  7. shopex二次开发手册
  8. Ubungsblatt 9: Programmieren in C
  9. 用户态和核心态的区别
  10. php中sinfo代表什么,info.php · slulusu/家谱familytree - Gitee.com