CSS/img:修订间差异
来自康健生活
| (未显示同一用户的2个中间版本) | |||
| 第30行: | 第30行: | ||
svg 压缩 | svg 压缩 | ||
SVGO SVGOMG | [https://github.com/svg/svgo SVGO] SVGOMG | ||
base64 DataURI | base64 DataURI | ||
== ICON == | |||
平移和竖移 | |||
<syntaxhighlight lang="css"> | |||
vertical-align: -3px; | |||
transform: translateX(5px);</syntaxhighlight> | |||
== 图片缩放 == | |||
<syntaxhighlight lang="css"> | |||
transform: scale(0.6,0.6);</syntaxhighlight> | |||