案例练习目的是总结以前的css和html
还有ps的使用。
制作步骤:
头部通栏:
共四部分 logo、导航、搜索栏、个人中心
前两个左浮动,后两个右浮动
banner部分:
背景图片+左侧侧边导航栏+右侧我的课表模块
text-align: center; /* 文字水平居中 */
font-weight: 700; /* 文字加粗 */
letter-spacing: 2px; /* 设置字间距 */
font-family: arial; /* 一般情况我们的符号都用这个字体 */
background: rgba(0, 0, 0, 0.3);/* 盒子背景半透明 */
精品推荐部分:
原文:https://www.cnblogs.com/superjishere/p/11675249.html