rendering

practice

  1. A big box with three small boxes inside
  2. Insert three image tags and float them
  3. Each box width 33 percent
  4. Picture 100%
<! Day - XXX - > < div class = "brand" > < div > < a href = "#" > < img SRC = "upload / 1. DPG" Alt = "" > < / a > < / div > < div > < a href =" # "> < img  src="upload/2.dpg" alt=""> </a> </div> <div> <a href="#"> <img src="upload/3.dpg" alt=""> </a> </div> </div>Copy the code

css

/* brand day */. Brand {overflow: hidden; background-color: #fff; border-radius: 10px 10px 0 0 ; } .brand div { float: left; Width: 33.33%; } .brand div img { width: 100%; }Copy the code