Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

text always has weird extra space above capitals and below the baseline. one-line CSS fix: `text-box: trim-both cap alphabetic;` Perfectly trims the text box to the actual glyph bounds. No more padding hacks.

73,955 Aufrufe • vor 5 Monaten •via X (Twitter)

0 Kommentare

Keine Kommentare verfügbar

Kommentare vom Original-Post werden hier angezeigt

Ähnliche Videos

004/100 Buttons. A bit of the process on building an animation. When looking at a finished animation or in this example a finished button, it can look quite complex inside the CSS. But when building it, it’s more like a lot of simple steps, one after another. Here I had the idea to make some kind of text animation like the footer logo on the Osmo site. I try to add the base animation with no complex easing, for example transition: translate 0.4s ease. Starting with just moving the one text from bottom to top and the other text to top. Adding a stagger, play around with it. Searching for a way to make it more circular. On the research I found the sin() function inside CSS which can build a more smooth non linear curve for the stagger which creates this circular effect. And step by step adding more complexity like, different easing for hover/hover-out, opacity, 3D transform and more. I use also the sin() function to rotate the letters, so the middle ones are getting more rotated than the outer ones. Another thing which helps is to add a small delay on hover, for example 0.05s or 0.1s, you don’t really see the difference, but when you hover pretty fast on and out it doesn’t get that jumpy. I’m using here GSAP’s SplitText to split every char into spans. And then I’m adding a CSS index variable to every span, starting from the center. SplitText can provide CSS index variables, but you cannot tell it from which direction. For the sin() it’s also important to have a max length, so I add another CSS variable with the max char number on it. Crafting 100 Buttons with Osmo ⏳ Total time: 63h

Eduard Bodak

166,023 Aufrufe • vor 3 Monaten

Regarding the Eric Trump / Daniel Cormier “text scandal”, I am open to being convinced otherwise, but I do not believe for one second that Eric Trump would text something so stupid to Daniel Cormier. It’s laughably stupid on its face to think that Eric Trump would ask a UFC commentator if any of the fights are “rigged”. That he would ask it in writing. And that he would not, for example, just pick up the phone and call Dana White or Joe Rogan himself. That said, I just want to understand what happened. Daniel Cormier said he was hacked. Is that to say he was hacked at the text level, or the X post level? Did he in fact make the post, and delete it? If he made the post, did he do it as a joke to illustrate how absurd the text hack was, but realized how the post could be misinterpreted as real? Or did someone make the post from his X account he subsequently deleted it. I know there are some who are going to say he made the post in earnest, thinking the text messages were real, intending to call out the “corruption”, and he has since been threatened, deleted the post, and claimed “hack”, etc. I can tell you exactly why I do not believe, even if he made the post, he did it believing the text message was real, intending to call out the “corruption”. If Cormier seriously thought the text messages were real, he would understand that by posting it publicly, it would literally destroy the UFC, his livelihood and his legacy - in addition to the legacy of everyone who has ever competed in the UFC. There is no realm of the universe in which even if it were in fact a real text that he actually received from Eric Trump, he would post it publicly. Because it would mean the end of the UFC. I just want to know if he actually made the post from his X account, or if the entire post was the result of a hack (hence the subsequent deleting of the post). Serious and sincere questions for clarity that would benefit everyone Eric Trump

Viva Frei

30,167 Aufrufe • vor 1 Monat