CSStransition-timing-functionプロパティ
遷移タイミング機能を使用してさまざまな速度曲線を設定するには、次のコードを実行してみてください
例
<!DOCTYPE html>
<html>
<head>
<style>
div {
width: 100px;
height: 100px;
background: red;
transition: width 4s;
}
#effect1 {
transition-timing-function: linear;
}
#effect2 {
transition-timing-function: ease-in;
}
#effect3 {
transition-timing-function: ease-out;
}
div:hover {
width: 250px;
}
</style>
</head>
<body>
<h1>Transition Effect</h1>
<p>Hover over the div elements and see the transition effect and the speed:</p>
<div id = "effect1">linear effect</div><br>
<div id = "effect2">ease-in effect</div><br>
<div id = "effect3">ease-out effect</div><br>
</body>
</html> -
CSSのflex-shrinkプロパティをアニメーション化する
にアニメーションを実装するには フレックスシュリンク CSSを使用したプロパティでは、次のコードを実行してみることができます 例 <!DOCTYPE html> <html> <head> <style> .mycontainer { display: flex;  
-
CSS分離プロパティ
分離プロパティは、要素が新しいスタッキングコンテンツを作成する必要があるかどうかを定義するために使用されます。構文は次のとおりです- 構文 isolation: auto|isolate|initial|inherit; 例 <!DOCTYPE html> <html> <head> <style> .demo1 { background-color: orange; } #demo2 { width: 300px; height: 400px; } .demo3 {