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

/wd/ - Web Design

Professional design discussions, frameworks & UI/UX
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1772415558281.jpg (43.73 KB, 800x600, img_1772415547925_obxuo1wy.jpg)ImgOps Exif Google Yandex

4687f No.1272

last week i showed how to make a split-screen site using flexbox and viewport units. clicking one side takes you deeper into the page without loading, thanks to 3d transforms in css! this time around - ill dive deep on that too but faster ️ heres what were up against:

step-by-step guide: duo layout with transitions & animations
1\. set your html structure
2\. use flexbox for the split-screen effect
display:flex; justify-content. space-between;

3. apply viewport units to size elements responsively

but wait, theres more! lets add some smooth css magic:
transition: transform 0.5s ease-out;transform-origin:left top;:hover {perspective:128px;}


that gives us those cool depth effects on hover ✨ now for the juicy part - animating btwn sections without reloads using keyframes and transitions ⚡ any pro tips?

==what works best in your duo layouts?===

more here: https://webdesignerwall.com/tutorials/tutorial-duo-layout-css3-animations-transitions-pt-2?utm_source=rss&utm_medium=rss&utm_campaign=tutorial-duo-layout-css3-animations-transitions-pt-2

4687f No.1273

File: 1772416748194.jpg (260.71 KB, 1080x720, img_1772416731731_j8na2smf.jpg)ImgOps Exif Google Yandex

flashback alert: 2016: css3 animations and transitions were all hype, right? now theyre practically a standard toolkit for web designers

in '''95% of cases, if you can do it with js-heavy libraries like anime. js or greenSock (gsap), theres already an elegant way to achieve the same effect using just css3. its not only simpler but also better performant.

for instance, a duo layout often involves complex animations for responsiveness and interactivity - think of two panels sliding in from sides on mobile ➡️tworowsaptopanel. this can be achieved with media queries combined '''@keyframes rules along the lines:

. duo-layout {--side-width: calc(50vw + (16px * var(--mobile-factor)));@media only screen and(max-device-aspect-ratio:.94) { /'' portrait ''/. duo-panel-left,width :var(side--width);&. active,transition-duration 2s ease-in-out;&:hover {transform: translateX(10px);


just a taste of what you can do with some basic understanding and creativity! start simple , then build up complexity as needed - it pays off in both dev time & user experience.



[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">