使用 CSS 实现翻转效果
cssweb developmentfront end technology更新于 2025/2/20 14:04:17
翻转效果用于创建对象的镜像。此滤镜可使用以下参数
| 序列号 | 参数 &描述 |
|---|---|
| 1 | FlipH 创建水平镜像 |
| 2 | FlipV 创建垂直镜像 |
示例
设置翻转效果
<html> <head> </head> <body> <img src = "/css/images/logo.png" alt = "CSS Logo" style = "Filter: FlipH"> <img src = "/css/images/logo.png" alt = "CSS Logo" style = "Filter: FlipV"> <p>Text Example:</p> <div style = "width: 300; height: 50; font-size: 30pt; font-family: Arial Black; color:red; Filter: FlipV">CSS Tutorials</div> </body> </html>
相关文章
有用资源
css 参考教程 - 该教程包含有关 css 的更多信息:https://www.cainiaomax.com/css/

