Sign in with Twitter


Lea Verou @LeaVerou Boston, MA

HCI researcher @MIT_CSAIL, @CSSWG IE, @CSSSecretsBook author, Ex @W3C staff. Made @prismjs @dabblet @prefixfree. I ♥ standards, code, design, UX, life!

830 Following   74,895 Followers   28,107 Tweets

Joined Twitter 2/27/09

.@github wishlist: a way to see ALL of someone's interactions with a repo at once, to review whether to add them as a contributor.Hey Americans, in case you weren't paying attention at school, THIS is what authoritarianism looks like: @LeaVerou I found out, that there is available a german translation of CSS-Secrets. Ordered it today via a local bo…
Retweeted by Lea Verou @TheDavidRees We did, with @cramforce. Turns out the answer is no :/Free chalk! (only $2 extra) at /cc @twtfsale isn't how fascism starts. This is fascism. White House Bars Times and Other News Outlets From Briefing
Retweeted by Lea Veroulol web development
Retweeted by Lea Verou
@ManikosN Χαιρετισμούς! @Informoji I wanted a .comBoston weather in February. ☀️☄️ And no, it's not Fahrenheit! do u think of the name forkgasm for a food blog (restaurant reviews & recipes)? I impulse-registered yesterday…
@MichaelGokey Why not? The "man" in "mansplaining" refers to the mansplainer. Nothing about who they're mansplaining to. @SelenIT2 If you don't control the date string, it may or may not have a timezone offset of its own and you need to check for that. @Runspired the name Lea didn't tip you off? :) @ramisayar holy shit. I thought interrupting the speaker only happened in academia. @thecristiansher I tried at first, didn't fit, decided "fuck it, dudes will do it anyway", lol @cramforce ❤️ @sil Date string is parsed as UTC, then converted to local tz. So in Boston, new Date("2017-02-28") is Feb 27 2017 19:00:00 GMT-0500 (EST) @nzgb Phew, good to know men get this too! I worried there for a second.Every time I tweet a JS WTF, I get several dudes explaining why it happens, assuming I didn't already know. Do men get the same reaction? @IainIsCreative it assumes the date string is UTC, then converts it to the local timezone internally & your local timezone is basically UTC @IainIsCreative Heh, it's because it uses the local timezone. Which timezone are you in?Today's JS #WTF: new Date("2016-03-28").getDate() // returns 27
@LeaVerou Will be looking to add this to @FirefoxDevTools :)
Retweeted by Lea VerouYay! Variable fonts in @FirefoxNightly
Retweeted by Lea VerouDev tools idea: Disable a CSS property across all stylesheets to simulate lack of support. Save profiles of multiple disabled properties.
📝 Do we need <h> - a new heading element?
Retweeted by Lea Verou
@jsstrn the spread operator is also supported natively in all modern browsers. @Logan_Darklock ha-ha. Very clever. 😒what are you, 5?Holyshit, what a horrifying experience @susanthesquark had working for @Uber! I hope she sues the shit out of them! @jsstrn FYI you don't need Babel to test Set behavior. They are supported natively everywhere. @jsstrn Converts the result back to an array. Otherwise you have a set.With #ES2015 Sets & the spread operator, dropping duplicates from an array becomes a short one liner: [ Set(arr)] #jsI remade Smashmouth from Windows XP sounds and created a nightmare
Retweeted by Lea Verou
@bassWolfe perhaps you are writing var()+2 instead of var() + 2. + needs whitespace around it, * does not.
@thisgunforhire It's a bit slow, but there's a great plugin ecosystem and it's very hackable. @erwanoz You might not be aware, but your comment comes off as rude and whiny. If you think I complain too much, you're free to unfollow. @CitizenNplusOne Also, scoping. @CitizenNplusOne Simple example: rename foo to bar. Oops foobar is now barbar. "Whole word" option helps, but doesn't completely rectify. @CitizenNplusOne Are you really that new or are you trolling? NEVER use find & replace for renaming variables.And while we're at it, has anyone found a good @AtomEditor plugin for renaming JS variables & properties? Everything I've tried is buggy AF. @guywald @AtomEditor I LOOOOOVE the colors. Would never change that! @selfagency Yes, please! But better in something sharable so others can benefit too!OMG I just installed the file-icons package in @AtomEditor and I'm in love with it!! WHERE WAS THIS ALL MY LIFE?!?…
I just posted a proposal on WICG to allow fetching event listeners by calling element.getEventListeners(). Weigh in![2/2] For @prismjs we used the same repo for code, website, plugins & it's a mess. But requiring a repo for a 10 line plugin seems overkill.Where do big extensible OSS projects keep plugins? Separate repo? Same repo? Website repo? What's the best way? [1/2] @pgbovine @jeffbigham @amyxzh @roboticwrestler LOL, admission by twitter followers. Maybe if I increase them to 700K I can graduate?
@pgbovine @jeffbigham @amyxzh @roboticwrestler FWIW, I had 0 publications. That was 3 years ago. @davatron5000 nitpicking perhaps, but it's not just Americans that pay taxes in this country.
Happy Valentine’s Day, @michelleobama! Almost 28 years with you, but it always feels new.
Retweeted by Lea Verou.@anatudor @LeaVerou I just discovered conic-gradient. When is this happening? @googlechrome @firefox @MicrosoftEdge
Retweeted by Lea VerouTIL about console.count() that lets you count how many times it was called, optionally with different labels for different counters!Dear @Github, Showing the % a milestone is complete is good, but useless w/out issue weights. Not all issues translate to the same progress.....And @LeaVerou, for an awesome @csssecretsbook book: without which this wouldn't have been done with a single <d…
Retweeted by Lea Verou @prashantsani Looks rad!
Normal guy shaking hands like a normal
Retweeted by Lea VerouBecause you had a premonition that one day the author would roar with laughter at seeing you called out for your bu…
Retweeted by Lea VerouTIL that if you save a multipage PDF as a PNG in OSX Preview it turns it into an APNG with every page as a frame!
COMPUTER: I can render the shimmering fantasy worlds of your dreams 60 times a second ME: search some emails for a string COMPUTER: oh no
Retweeted by Lea Verou
@anatudor @SelenIT2 it was :) @fermaf you don't need to write JS to use Awesomplete. There are HTML only examples above that. If you're uncomfortable with JS, use those.Grapefruit is…
@anatudor haha I typed it on my phone so autocorrect took over, lolI <3 #JavaScript libraries that work with HTML markup. by @LeaVerou
Retweeted by Lea Verou @anatudor comic-gradient(white 25%, black 0 50%, white 0 75%, black 0); background-size: 50px 50px; @senthil_hi Nice!
@annevk @smashingmag Mozilla was the only one that's been so vocal against it, no? What are the others' arguments? ES6 modules as well?I published an article on @smashingmag today! HTML APIs: What They Are And How To Design A Good One you @LeaVerou for reminding us not to assume everyone thinks like ourselves and it's our duty to the web a mo…
Retweeted by Lea Verou✏️ New on SmashingMag: HTML APIs: What They Are And How To Design A Good One (by @LeaVerou)
Retweeted by Lea VerouLive coded a new & better version of an old pen. Check it out on @CodePen Uses @LeaVerou's…
Retweeted by Lea Verou
@dirkbonhomme nah, I went back. But that's 50 wasted minutes :( @Taecilla the new pro is as light as the air @KeriHenare 25 minutes. I went back :(Got all the way to work, then realized I left my laptop at home. FML 😭Just got my daughter's report card and I'm pretty upset about the grade she got in Sex
Retweeted by Lea VerouLove this.
Retweeted by Lea VerouNew FCC chair just blocked 9 companies from providing affordable Internet to the poor
Retweeted by Lea Verou