css布局居中作业:
1、让布局居中条件?
2、让内容居中CSS单词是什么?
3、设置一个1px黑色边框,高100px,宽200px的一个盒子,在网页中(布局)居中,命名为yangshi,并用class引用。
用到单词:
Margin: 设置边距 https://www.thinkcss.com/css/1006.shtml
Height 设置高度https://www.thinkcss.com/css/916.shtml
Width 设置宽度https://www.thinkcss.com/css/927.shtml
Border 设置包括 https://www.thinkcss.com/css/912.shtml
text-align 设置内容居左、居右、居中 https://www.thinkcss.com/shouce/c_textalign.shtml
引导阅读与掌握:
1、https://www.thinkcss.com/shili/8.shtml
2、https://www.thinkcss.com/shili/108.shtml
3、https://www.thinkcss.com/css/622.shtml
目的:
1、掌握内容居中
2、掌握布局(盒子)居中
相关标签: 居中 布局居中
如需转载,请注明文章出处和来源网址:https://www.thinkcss.com/work/806.shtml