当前位置:网站首页>【案例】2D变换-旋转动画
【案例】2D变换-旋转动画
2022-08-02 17:14:00 【发呆少女】
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2D旋转变换动画</title>
<style> div {
width: 300px; height: 300px; background-color: aqua; margin: 100px auto; overflow: hidden; } div::after {
display: block; box-sizing: border-box; content: '哈喽'; width: 100%; height: 100%; background-color: pink; text-align: center; padding-top: 125px; transform-origin: bottom left; transform: rotate(90deg); transition: transform 0.5s; color: #fff; font-size: 50px; } div:hover::after {
transform: rotate(0); } </style>
</head>
<body>
<div></div>
</body>
</html>

边栏推荐
猜你喜欢
随机推荐
动力电池扩产潮,宁德时代遭围剿
Flink Learning 9: Configure the idea to develop the flink-Scala program environment
【Redis】连接报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused
持续集成(四)Jenkins配置报警机制
golang学习之七:并发编程基础(goroutine、channel、select)
二舅“反转”了?
如何生成随机数+原理详细分析
What is the difference between erp system and wms system
Nacos interview questions
ECCV 2022 | 清华&腾讯AI Lab提出REALY:重新思考3D人脸重建的评估方法
今年上半年,我国公路建设总体形势持续向好
谁抢走了华大基因的生意?
图解LeetCode——622. 设计循环队列(难度:中等)
暴跌99.7%后,谁还在买卖「二舅币」?
什么是APS系统?导入APS要注意什么?值得反复观看
腾讯架构师是如何解释:Redis高性能通信的原理(精华版)
Common software silent installation parameters
Kubernetes:(五)Pod进阶(资源限制、健康检查)
erp系统和wms系统有什么区别
安全至上:落地DevSecOps最佳实践你不得不知道的工具









