[HTML]View PlainCopy
- <! DOCTYPE HTML>
- <!--two x div-->
- <html>
- <body>
- <div style="Width:100%;height:200px;margin-top:500px;location:center;border:none; Background-color:red;position:absolute ">
- </div>
- <div style="Width:16%;height:1000px;margin-left:42%;margin-right:42%;margin-top:0px;border: None;background-color:red;style=clear:both;position:absolute ">
- </div>
- </body>
- </html>
[HTML]View PlainCopy
- <! DOCTYPE HTML>
- <!--three x div-->
- <html>
- <body>
- <div style="Width:100%;height:100px;margin-top:500px;location:center;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:100%;height:100px;margin-top:400px;location:center;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:16%;height:1000px;margin-left:42%;margin-right:42%;margin-top:0px;border:none; Background-color:red;position:absolute ">
- </div>
- </body>
- </html>
[HTML]View PlainCopy
- <! DOCTYPE HTML>
- <!--five x div-->
- <html>
- <body>
- <div style="Width:100%;height:65px;margin-top:500px;location:center;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:100%;height:65px;margin-top:435px;location:center;border:none;background-color : Red;position:absolute "></div>
- <div style="Width:100%;height:65px;margin-top:370px;location:center;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:8%;height:1000px;margin-left:42%;margin-right:50%;margin-top:0px;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:8%;height:1000px;margin-left:49%;margin-right:42%;margin-top:0px;border:none ; Background-color:red;position:absolute "></div>
- </body>
- </html>
Law II:
The specific idea is: Two, create a rectangle with a div, then copy one, rotate 90 degrees with the center point, two merges, three, create a rectangle with a div, then copy one, rotate the center point 90 degrees, two merges, then wrap an empty div box outside, five, the Red Cross symbol consists of five squares , representing five continents, draw a square, then copy it into five, then put five squares in position, make up the Red Cross shape, Circle five squares, select weld option, then fill Red (c:0,m:100,y:100,k:0), remove border color.
[HTML]View PlainCopy
- <! DOCTYPE HTML>
- <!--two x div-->
- <html>
- <body>
- <div style="Width:1000px;height:200px;margin-left:180px;margin-top:500px;location:center;border: None;background-color:red;position:absolute "></div>
- <div style="Width:1000px;height:200px;margin-left:180px;margin-top:500px;location:center;border: None;background-color:red;position:absolute;transform:rotate (90deg); " ></div>
- </body>
- </html>
[HTML]View PlainCopy
- <! DOCTYPE HTML>
- <!--three x div-->
- <html>
- <body>
- <div type="Margin:auto">
- <div style="Width:1000px;height:200px;margin-left:180px;margin-top:500px;location:center;border: None;background-color:red;position:absolute "></div>
- <div style="Width:1000px;height:200px;margin-left:180px;margin-top:500px;location:center; Border:none;background-color:red;position:absolute;transform:rotate (90deg); " ></div>
- </div>
- </body>
- </html>
[HTML]View PlainCopy
- <! DOCTYPE HTML>
- <!--five x div-->
- <html>
- <body>
- <div style="Width:200px;height:200px;margin-left:500px;margin-top:100px;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:200px;height:200px;margin-left:300px;margin-top:300px;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:200px;height:200px;margin-left:500px;margin-top:300px;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:200px;height:200px;margin-left:700px;margin-top:300px;border:none; Background-color:red;position:absolute "></div>
- <div style="Width:200px;height:200px;margin-left:500px;margin-top:500px;border:none; Background-color:red;position:absolute "></div>
- </body>
- </html>
Web front-end questions use 2, 3, and 5 div to draw a large red cross from each other