css3
.ipt::-webkit-input-placeholder{
color: green;
}
.ipt::-moz-placeholder{
color: green;
}
.ipt:-ms-input-placeholder{
color: green;
}
backface-visibility: visible | hidden; 背面是否可见
body{/* 舞台元素 */
perspective: 1000px;/* 视距 */
}
ul{
position: relative;
width: 200px;
height: 200px;
/* border: 1px solid red; */
margin: 100px auto 0;
transform-style: preserve-3d;/* 子元素具有3d属性 */
transform:rotateX(-20deg) rotateY(30deg);
transition:all 1s ease-in 0.5s;
}
字体颜色变化
.box2{
width: 300px;
background: linear-gradient(to right bottom,red 0%,blue 50%,pink 100%);
-webkit-background-clip:text;
color: transparent;
}