嗨朋友们有谁知道如何在 Html 页面中使用 Css 三次贝塞尔曲线
我在这里
尝试了缓入效果,但它不起作用。帮助我在页面加载时为 div 提供缓入效果。
这是我的CSS代码:
.container{width:100%;}
.Innerdiv{width:50%;-webkit-transition: all 1s cubic-bezier(.42, 0, 1, 1);
-moz-transition: all 1s cubic-bezier(.42, 0, 1, 1); padding:30px;}
html在这里
<div class="container">
<div class="Innerdiv">
<h1>
What is Lorem Ipsum?
</h1>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
</div>
</div>