这是我的代码:
<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>
元素旋转180度,字体也旋转了180度,
但是,我不想让字体旋转,
我该怎么办呢?
谢谢。
但是,我不想让字体旋转,
我该怎么办呢?
谢谢。