How to fake 3D in CSS and create a sphere intersection using CSS and trigonometry.
🔴 Patreon: https://www.patreon.com/joyofcode
𝕏 Twitter: https://twitter.com/joyofcodedev
💬 Discord: https://discord.com/invite/k6ZpwAKwwZ
🔥 Uses: https://www.joyofcode.xyz/uses
⚓️ Links
🔗 CodePen: https://codepen.io/konstantindenerz/pen/xxyZJpO
🔗 Svelte version: https://svelte.dev/playground/a3c2ff3f5ecb414383f8d8a503c10334?version=5.28.2
🔗 Video made with Animotion: https://animotion.pages.dev/
🔖 Timestamps
0:00 Intro
0:37 Creating The 3D Effect For The Walls
5:04 Using Trigonometry To Animate The Background
8:58 Using CSS Masks To Complete The Look
11:50 Creating The 3D Sphere And Animations
#joyofcode #3d #css