答案 0 :(得分:0)
您可以使用变换3D
请参阅(在许多其他链接中) https://css-tricks.com/almanac/properties/p/perspective/
div.pp {
perspective: 500px;/* triggers 3d effects */
padding: 0 2.5%;
}
div.rt {
perspective: inherit;/* needed to reverse 3D transform effects on content */
height: 150px;
background: #333;
border-radius: 5px;
transform: rotatex(-10deg);
box-shadow: 0 0 1px;/* blurs the edge*/
}
.rt p {
font-size: 5vw;
margin: 0 3%;
color: white;
transform: rotatex(10deg);/* restack text up */
}

<div class="pp">
<div class="rt">
<p>
some text here ?
</p>
</div>
</div>
&#13;