1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .list{ width: 200px; height: 250px; overflow: hidden; transform: rotate(120deg); margin: 200px; } .list_child{ width: 100%; height: 100%; overflow: hidden; transform: rotate(-60deg); } span{ display: block; width: 100%; height: 100%; overflow: hidden; transform: rotate(-60deg); background-color: red; } </style> </head> <body> <div class="list"> <div class="list_child"><span></span></div> </div> </body> </html>
|