Title: CSS Physics · May 31, 2024
Open Graph Title: CSS Physics · May 31, 2024
X Title: CSS Physics · May 31, 2024
Description: Physics in CSS! I transferred a JS physics function into CSS thanks to sqrt() , exp() , sin() , cos() and @property . :root { --mass : 1 ; --stiffness : 100 ; --damping : 5 ; --start-velocity : 0 ; } Check it out on Codepen . Change the properties and see a different animation.
Open Graph Description: Physics in CSS! I transferred a JS physics function into CSS thanks to sqrt() , exp() , sin() , cos() and @property . :root { --mass : 1 ; --stiffness : 100 ; --damping : 5 ; --start-velocity : 0 ; } Check it out on Codepen . Change the properties and see a different animation.
X Description: Physics in CSS! I transferred a JS physics function into CSS thanks to sqrt() , exp() , sin() , cos() and @property . :root { --mass : 1 ; --stiffness : 100 ; --damping : 5 ; --start-velocity : 0 ; } Check it out on Codepen . Change the properties and see a different animation.
Opengraph URL: https://nerdy.dev/css-physics
X: @argyleink
Domain: nerdy.dev
{"@context":"https://schema.org","@type":"Person","name":"Adam Argyle","url":"https://nerdy.dev","sameAs":["https://twitter.com/argyleink","https://github.com/argyleink","https://front-end.social/@argyleink","https://codepen.io/argyleink"],"jobTitle":"CSS Expert, Developer Advocate, CSSWG Member","description":"CSS Working Group member, creator of Open Props and VisBug, teacher and speaker on web development","knowsAbout":["CSS","Web Development","JavaScript","HTML","Web Design","UX","Accessibility","Performance","Design Systems","Web Standards"]}
{"@context":"https://schema.org","@type":"WebSite","name":"nerdy.dev","url":"https://nerdy.dev","author":{"@type":"Person","name":"Adam Argyle"},"description":"Web development blog featuring CSS, JavaScript, HTML, design, and UX content by Adam Argyle"}
| fediverse:creator | @argyleink@front-end.social |
| None | sec-ch-viewport-width https://api.pirsch.io; sec-ch-dpr https://api.pirsch.io; sec-ch-width https://api.pirsch.io; sec-ch-downlink https://api.pirsch.io; |
| mobile-web-app-capable | yes |
| apple-mobile-web-app-status-bar-style | default |
| theme-color | #030507 |
| color-scheme | dark light |
| og:type | article |
| og:locale | en_US |
| og:image | https://nerdy.dev/media/skull-card.png |
| og:image:width | 1366 |
| og:image:height | 768 |
| og:image:type | image/png |
| og:image:alt | Adam Argyle's skull logo wearing a pink cap |
| og:video | https://nerdy.dev/media/skull-card.mp4 |
| og:video:secure_url | https://nerdy.dev/media/skull-card.mp4 |
| og:video:type | video/mp4 |
| og:video:width | 1200 |
| og:video:height | 630 |
| twitter:player:stream | https://nerdy.dev/media/skull-card.mp4 |
| twitter:player:stream:content_type | video/mp4 |
| og:site_name | nerdy.dev |
| article:published_time | 2024-05-31T03:57:40.976Z |
| article:author | https://nerdy.dev/ |
| article:tag | css |
| twitter:card | summary_large_image |
| twitter:image | https://nerdy.dev/media/skull-card.png |
| twitter:image:alt | Adam Argyle's skull logo wearing a pink cap |
| twitter:creator | @argyleink |
Links:
Viewport: width=device-width, initial-scale=1, viewport-fit=cover