weblove's banner
weblove's profile picture

weblove

@webloved • 110,900 subscribers

Shorts

How I build with Claude 👇 Academy in bio 🔗 Full prompt goes in the Academy soon. It took hours of testing to get right. Want a site like this? Send me an email, email in bio 📩 One product, three flavours. Let the whole page change colour as you scroll into each one: 1. Give each flavour section an id: cacao, peche, framboise. 2. One palette per flavour as CSS variables: :root[data-flavour="cacao"] { --bg: rgb(243,232,222); --ink: rgb(74,44,30) }. Same for the other two. 3. IntersectionObserver with rootMargin "-50% 0px -50% 0px", so it fires when a section crosses the middle of the screen. 4. On fire, set document.documentElement.dataset.flavour to that id. 5. body gets transition: background-color 600ms, color 600ms. The page melts from one flavour to the next. 6. 6 to 8 ingredient PNGs per flavour, each moving at its own speed: 0.2 to 0.6 times the scroll. 7. Small ones slower with filter: blur(2px), big ones faster and sharp. Instant depth, no WebGL. 8. The Add to bag button uses --ink too, so the button always matches the flavour on screen. Save this before your next product site 🔥 #claude #claudeai #webdesign #vibecoding #3dwebsite

How I build with Claude 👇 Academy in bio 🔗 Full prompt goes in the Academy soon. It took hours of testing to get right. Want a site like this? Send me an email, email in bio 📩 One product, three flavours. Let the whole page change colour as you scroll into each one: 1. Give each flavour section an id: cacao, peche, framboise. 2. One palette per flavour as CSS variables: :root[data-flavour="cacao"] { --bg: rgb(243,232,222); --ink: rgb(74,44,30) }. Same for the other two. 3. IntersectionObserver with rootMargin "-50% 0px -50% 0px", so it fires when a section crosses the middle of the screen. 4. On fire, set document.documentElement.dataset.flavour to that id. 5. body gets transition: background-color 600ms, color 600ms. The page melts from one flavour to the next. 6. 6 to 8 ingredient PNGs per flavour, each moving at its own speed: 0.2 to 0.6 times the scroll. 7. Small ones slower with filter: blur(2px), big ones faster and sharp. Instant depth, no WebGL. 8. The Add to bag button uses --ink too, so the button always matches the flavour on screen. Save this before your next product site 🔥 #claude #claudeai #webdesign #vibecoding #3dwebsite

415,300 просмотров

How I build with Claude 👇Academy in bio 🔗 CSS object-fit cover on full viewport images creates that immersive architectural photography experience Vanilla Tilt.js adds subtle 3D parallax to product cards on mouse move with zero WebGL needed Warm beige and charcoal two-color palette luxury brands use restraint because excess looks cheap Video autoplay muted loop behind the hero section creates motion without distracting from the product CSS scroll-snap turns each gallery room into a fullscreen section users snap between effortlessly SVG path animation draws architectural floor plan outlines on scroll revealing the space progressively Lazy loading with IntersectionObserver ensures high resolution architecture photography never slows the page Save this if you want a showroom site that makes clients feel they already walked through the space 🏛️ #claude #buildinpublic #webdesign #luxury #fyp

How I build with Claude 👇Academy in bio 🔗 CSS object-fit cover on full viewport images creates that immersive architectural photography experience Vanilla Tilt.js adds subtle 3D parallax to product cards on mouse move with zero WebGL needed Warm beige and charcoal two-color palette luxury brands use restraint because excess looks cheap Video autoplay muted loop behind the hero section creates motion without distracting from the product CSS scroll-snap turns each gallery room into a fullscreen section users snap between effortlessly SVG path animation draws architectural floor plan outlines on scroll revealing the space progressively Lazy loading with IntersectionObserver ensures high resolution architecture photography never slows the page Save this if you want a showroom site that makes clients feel they already walked through the space 🏛️ #claude #buildinpublic #webdesign #luxury #fyp

3,400,000 просмотров

How I build with Claude 👇 Academy in bio 🔗 Full prompt goes in the Academy soon. It took hours of testing to get right. Want a site like this? Send me an email, email in bio 📩 POV: you mastered 3D websites. A whole house you walk through just by scrolling. 9 rooms, one camera 🏠 The trick: the camera rides on a path. Scroll only decides how far along the path you are. 1. Build the house as one Three.js scene. One room per stop: lounge, bar, garage, stairs, gallery, library, billiards, vault, outside. 2. Put one point in the middle of each room at eye level (y = 1.6). Join them with CatmullRomCurve3. 3. Make a second curve for where the camera looks, the same points pushed 2 units forward. 4. Read scroll as p from 0 to 1. camera.position = path.getPointAt(p). camera.lookAt(look.getPointAt(min(p + 0.02, 1))). 5. Smooth it: p moves 8% toward the real scroll value each frame, so it glides instead of jumps. 6. Room i sits at p = i / 8. When p passes it, swap the room name and the floor number. 7. Bottom bar shows every room as a tick. Click one and it scrolls you there. 8. LOOK button: drag to turn your head up to 15 degrees left or right. Let go and it springs back. Save this before your next 3D build 🔥 #claude #webdesign #threejs #interiordesign #vibecoding

How I build with Claude 👇 Academy in bio 🔗 Full prompt goes in the Academy soon. It took hours of testing to get right. Want a site like this? Send me an email, email in bio 📩 POV: you mastered 3D websites. A whole house you walk through just by scrolling. 9 rooms, one camera 🏠 The trick: the camera rides on a path. Scroll only decides how far along the path you are. 1. Build the house as one Three.js scene. One room per stop: lounge, bar, garage, stairs, gallery, library, billiards, vault, outside. 2. Put one point in the middle of each room at eye level (y = 1.6). Join them with CatmullRomCurve3. 3. Make a second curve for where the camera looks, the same points pushed 2 units forward. 4. Read scroll as p from 0 to 1. camera.position = path.getPointAt(p). camera.lookAt(look.getPointAt(min(p + 0.02, 1))). 5. Smooth it: p moves 8% toward the real scroll value each frame, so it glides instead of jumps. 6. Room i sits at p = i / 8. When p passes it, swap the room name and the floor number. 7. Bottom bar shows every room as a tick. Click one and it scrolls you there. 8. LOOK button: drag to turn your head up to 15 degrees left or right. Let go and it springs back. Save this before your next 3D build 🔥 #claude #webdesign #threejs #interiordesign #vibecoding

23,100 просмотров

Videos

Больше нет контента для загрузки