10-11

10-11公用css

/* CSS Document */
body {
    margin-top: 0px;
}
.box_zero{margin: 0 auto;
    padding: 0;
    height: 300px;
    width: 500px;
    background-color:#666;
}
.box_one{
    height: 100px;
    width: 100px;
    float: left;
    background-color: #F00;
}
.box_two{
    height: 100px;
    width: 100px;
    float: right;
    background-color: #F00;
}
.box {
    margin:auto;
    height: 110px;
    width: 1185px;
    background-color: #666;
}
.box1 {
    height: 60px;
    width: 1185px;
    background-color: #F00;
}
.box2 {
    height: 50px;
    width: 840px;
    background-color: #00F;
    float: right;
}
.box3 {
    height: 50px;
    width: 100px;
    border: solid 1px #FFF;
    float: left;
    background-color: #F90;
}
a{
    display:block;}

题目一:浮动





10.11One




题目二:元素转换





10.11Two



你可能感兴趣的:(10-11)