最新回答 / 慕神6115920
右上角—— position:absolute; right:0px;右下角—— position:absolute; right:0px; bottom:0px;左下角—— position:absolute; left:0px; bottom:0px;
2017-03-26
已采纳回答 / 冰封皓天
id是一个标签,用于区分不同的结构和内容;id是先找到结构/内容,再给它定义样式;class是一个样式,可以套在任何结构和内容上;class是先定义好一种样式,再套给多个结构/内容,比如<div id="a" class="b">test</div> #a{ width:300px; height:50px;color:green;} .b{ width:100px; height:300px; color:blue;}这样会显示宽300px,高50px,背景为绿色。因为cla...
2017-03-26