よく使うCSSアニメーションのショートハンド
よく使うCSSアニメーションのショートハンド。 いつも忘れるのでメモしときます。 See the Pen Untitle...
HTML
1 2 3 |
<div class="yt_cont"> <iframe src="https://www.youtube.com/xxxx/xxxxxxxxxxxxx" frameborder="0" allowfullscreen></iframe> </div> |
CSS(SCSS) [crayon-628d...
1 2 3 4 5 6 7 |
// 横向き @media screen and (orientation: landscape) { } // 縦向き @media screen and (orientation: portrait) { } |