好得很程序员自学网

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

position中的困惑,帮忙解决一下_html/css_WEB-ITnose

   	 	 Document 	 	*{		margin:0;		padding:0;	}	.parent{		background: red;		position: absolute;		left:60px;		width: 300px;		height: 300px;	}	.childRight{		background: blue;		width: 240px;		position: relative;		right:60px;	}	.child-Right{		background: yellow;		width: 240px;		position: relative;		right:-60px;	}	.childLeft{		background: blue;		width: 240px;		position: relative;		left:60px;	}	.child-Left{		background: yellow;		width: 240px;		position: relative;		left:-60px;	}	   	

parent

childRight

查看更多关于position中的困惑,帮忙解决一下_html/css_WEB-ITnose的详细内容...

  阅读:31次