💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ <style> *{ margin: 0; padding: 0; } .box{ height: 200px; width: 200px; position: relative; overflow: hidden;/*隐藏*/ } .bg-img{ height: 200px; width: 200px; background: pink; background-size: cover; } .cover{ width:200px; height: 200px; position: absolute; left: 0; top: 0; background: rgba(25, 25, 25, 0.2); transform: rotate(90deg); transition:all 0.85s; transform-origin: left bottom; } .box:hover .cover{ transform: rotate(0deg); } </style> ~~~ ~~~ <body> <div class="box"> <div class="bg-img"> </div> <div class="cover"></div> </div> </body> ~~~ ![](https://box.kancloud.cn/914dd465ddc9752885c51ae4b4a3eee1_275x312.gif)