【发布时间】:2010-08-05 07:12:35
【问题描述】:
这是我的代码:
<style type='text/css'>
div {
width: 100px;
height: 100px;
text-align: center;
font-size: 22px;
background-image: -webkit-gradient(linear, left top, left bottom,
color-stop(0.40, #ff0),
color-stop(0.5, orange),
color-stop(0.60, rgb(255, 0, 0)));
-webkit-transform: rotate(180deg)
}
</style>
<div id="test">click me to play</div>
div旋转180度,字体也旋转180度,
但是,我不希望字体旋转,
我能做什么。
谢谢
【问题讨论】:
标签: background css rotation