好得很程序员自学网

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

position:fixed对元素影响的疑问?_html/css_WEB-ITnose

代码如下,当给xx加上position:fixed,为什么xx在样式上从占一整行,到只包围了xxx。
         .xxx{height: 100px;width: 100px;background: red;}.xx{	background: black;	padding: 10px;	/*position: fixed;*/	left: 100px;}    

查看更多关于position:fixed对元素影响的疑问?_html/css_WEB-ITnose的详细内容...

  阅读:32次