Web Tools #553 - CSS Overview, Frameworks, Build Tools, Uncats
source link: https://mailchi.mp/webtoolsweekly/web-tools-553
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
CSS Overview, Frameworks, Build Tools, Uncats
|
Issue #553 • February 22, 2024
Advertisement
|
A Newsletter Helping Flex Your Product Muscle Product for Engineers is PostHog’s newsletter dedicated to helping engineers improve their product skills. Learn what questions to ask users, how to build new features users love, and the path to product market fit. Subscribe for free to get curated advice on building great products, lessons (and mistakes) from building PostHog, and deep dives into the strategies of top startups. Subscribe for Free → |
The DevTools in Chromium-based browsers continue to be improved on and if you're not careful you can end up using the same features without checking out other useful stuff. Opening the CSS Overview panel in DevTools
This brings up a summary page explaining briefly how the tool can help you. Click the "Capture Overview" button to run the CSS Overview test. A synopsis of the CSS Overview features
After that, there's info on colors, which divides the colors into categories and provides info on low contrast. The example shown in the screenshot below has 7 different contrast issues that could use fixing for more accessible text. A generated CSS Overview summary
There's also info on fonts. For both colors and fonts, you can click on a color or a font to see a list of elements using that color or font. You can click the element to go to it in the Elements panel if you want to deal with it in there. Examining colors using CSS Overview
And you can also simply hover over any of the elements in the list and the element will be indicated visually on the page so you can see which one it maps to in the layout, as shown in the screenshot below. Hovering over an element in the elements list in CSS Overview
And finally, there's info on unused declarations and number of media queries used on the page. The unused declaration info can certainly be useful for cleaning up your stylesheets and doing some refactoring. The unused declarations section in the CSS Overview
When you first open the CSS Overview panel, you'll see a reminder that this is still an experimental feature, with a link to this bug report thread where you can submit issues if you find any. You can also use that for feature requests. It will be interesting to see how this feature improves as it's developed and comes out of the experimental stage, so keep an eye on that! |
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK