[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/css/ - CSS Masters

Advanced styling, animations & modern CSS techniques
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1765280035001.jpg (77.3 KB, 800x600, img_1765280016634_zp3ar65v.jpg)

2cf30 No.945

I've been diving deep into some fascinating css animations lately and wanted to share a tip that might help out on this forum - using @keyframes with the animation property can create smooth, customizable CSS transitions. Here's an example of how it works [code]@keyframes slide-in { 0% { transform: translateX(-15px); opacity:.2 } 76%, 84%{transform :translatex( -30 px) ;opacity :.2} 90% { transform: translateY (- 10 pixels ); opacity:.9; }} [/code] Then, you can apply the animation to your element with this code snippet [code].slide-in[class]{animation: slide-inslideoutduration -5s;} [/code], where 'slideslideout' is a custom name for my keyframe and duration sets how long each frame last. Hope it helps! Let me know if you have any questions or need more examples :)


[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">