好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

web开发(2)传说的盒模型之padding_html/css_WEB-ITnose

大道至简

padding引入

接着上回的说哈,通过引入css样式,我们可以改变html标签的展示形态,现在有个需求: 在div中写上一些文字 ,看代码和效果图1:

css:div {    width: 300px;    height: 100px;    background-color: cyan;}html:

衣带渐宽终不悔,为伊“写”得人憔悴

查看更多关于web开发(2)传说的盒模型之padding_html/css_WEB-ITnose的详细内容...

  阅读:38次