Lea Verou is a computer scientist / web standards geek / front-end developer / web designer / speaker / author, originally from Greece. She is currently a Research Assistant at MIT CSAIL, in David Karger’s Haystack group and an Invited Expert in the W3C CSS Working Group. She has also created @prismjs, @dabblet and @prefixfree.
Shoot any questions you want Lea to answer!
Ask Lea Verou about:
What is your experience on SVG? Do you use SVG sprite technic with <use>? How do you import SVG icons in HTML, is it a single huge def at the bottom of the body or it is a separate sprites.svg? Do you use SVG filters? How do change icon color (and may be something else) on hover?
Any specific standard CSS style guide you follow? like for JS we mostly follow airbnb's style guide. Thanks!
Do you use PostCSS, CSSNext, SASS, LESS, Stylus or something else?
What is your opinion on writing "CSS in JS" like in React?
Editor you love to use for web development stuff mostly. :)
Hey Lea! much thanks for doing this.
What's your take on the bad mouthing that CSS gets for being such a mess?
Do you think it's a must for all javascript developers to have good knowledge of CSS?
Hi Lea,
First, More CSS Secrets: Another 10 things you may not know about CSS was awesome. Congo! 👏
My Question:
As a web developer, what are the 3 things you would like to change?
Hey Lea,
No questions. Just wanted to thank you for your amazing book. We have a (now-signed!) copy at our office, and it is recommended reading for every dev in the frontend team.
What sort of work do you do as an HCI researcher? Many Thanks for the AMA.
Hi, Lea! Glad to see you here.
I'm curious to know how you do all these great stuff using CSS and JavaScript? Does it relate to Mathematics? How do you inspire?
Hi Lea, how you came with the idea of blissfuljs?
Hi Lea. Huge fan of your book and blog. One subject I've never seen you talk about: CSS architecture. What approach to you take in regard to specificity etc
How to create a custom UI using css and javascript.
Hi Lea,
Thanks a lot for hosting a AMA!
What do you see as the best/positive trend in UI/HCI at the moment; and what would be the worst/negative trend?
If you could wave a magic wand and add one thing to CSS with universal and perfect support, what would it be?
Hey Lea,
I wanted to ask, since the current rise of distributed systems and the technology developed to scale such unpresidented proportions. VR and AR are going to be pushed and are likely a part of the longterm future.
Did you already think about standards and how parts of the human machine interaction with the web can change.
For example: Right now we have "2 formats" mobile and desktop should there be special "VR viewports" or "AR viewports" because of the 3rd spacial option in VR and AR or the hindering of opacity in an AR use case like google glasses ? Or is that still to distant to think about it?
If that's to far off topic, or you never thought about it, I apologize.
Hi Lea, I'm curious to know a little more about the working of W3C, and specifically the CSS working group? How does the group unanimously decide on what standards to approve?
Hi Lea, thank you for hosting this AMA!
Prism is one of my favourite libraries. What is the story behind its origin? How long did it take you to roll the first version out?
What is your favourite pastime? :)
Hi Lea! Glad to see you here :)
What do you think about Firefox not considering 'Scrollbar styling' as a default rule.
It has a great support everywhere but they refuse to add the rule, is it justified?
In CSS for years we were using classes for both layout/document structure and visual element styling itself. Later new HTML tags like header, footer was added. What's next?
Today I found for myself an interesting HTML+CSS API and using it more. Short example:
<flex type="column">
<flexitem order="5">
...
</flexitem>
...
</flex>
CSS:
flex {
display: flex;
}
flex[type="column"] {
flex-direction: column;
}
flexitem[order="5"] {
order: 5;
}
...
It also would be very useful if we could use attr() not only for content but:
flexitem[order] {
order: attr(order)
}
Now I have semantics and document structure separated from visual styling and using classes only for colors, borders, sizes and other decorations.
I also have custom small CSS responsive <grid> framework. No more <div class="col-x-y col-q-w col-whatever-else ...">
What do you think about this approach?
What is your opinion on custom HTML tags and attributes? What naming convension should be used in such case? Do you like seeing "-" and upper case characters in tag, attribute names? I see today a lot of <Awesome-Tag-Name>...</Awesome-Tag-Name>
What is your opinion on Web Components?
I used ATOM, but it's a bit slow when one enable real time linters on it. Thus switched to Microsoft VScode for now, its a bit faster than others in Windows10. But i keep both.
Lea Verou
Speaker, author, HCI researcher at MIT, web standards aficionado, serial OSS project creator
Mev-Rael
Executive Product Leader & Mentor for High-End Influencers and Brands @ mevrael.com
What would you change in your big app build process where you, probably, have a lot of npm packages, scripts, gulp/grunt, webpack, browserify, babel, huge configs and everything else?