VS Code Extensions for HTML

Let’s look at some extensions for VS Code that make writing and editing HTML (and languages that are basically HTML with extra powers) better. You may not like all of them. Maybe some of them don’t appeal to you, solve …

The post VS Code Extensions for HTML appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/vs-code-extensions-for-html/

4y | CSS tricks
Principles for user-centered front-end development

Colin Oakley:

• Accessible — Use semantic HTML, and make sure we meet the WCAG 2.1 AA standard as a minimum and it works with assisted technologies (this sits alongside the DWP Accessibility Manual) • Agnostic — Build

The post Principles for user-centered front-end development appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://colinoakley.medium.com/the-web-we-choose-to-build-e921510e3f1b

4y | CSS tricks
Can I :has()

I just joked that we’re basically getting everything we want in CSS super fast (mostly referring to container queries, my gosh, can you imagine they are actually coming?). Now we might actually get parent selectors?! As in .parent:has(.child) { …

The post Can I :has() appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://bkardell.com/blog/canihas.html

4y | CSS tricks
Monitoring Lighthouse Scores and Core Web Vitals with DebugBear

DebugBear takes just a few seconds to start using. You literally point it at a URL you want to watch, and it’ll start watching it. You install nothing. It’ll start running tests, and you’ve immediately got performance charts you can …

The post Monitoring Lighthouse Scores and Core Web Vitals with DebugBear appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/monitoring-lighthouse-scores-and-core-web-vitals-with-debug

4y | CSS tricks
Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media Queries

A little while back, Chris shared this nice hexagonal grid. And true to its name, it’s using —wait for it — CSS Grid to form that layout. It’s a neat trick! Combining grid columns, grid gaps, and creative clipping …

The post Hexagons and Beyond: Flexible, Responsive Grid Patterns, Sans Media Queries appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/hexagons-and-beyond-flexible-responsive-grid-patterns-sans-media-queries/

4y | CSS tricks
Debugging iOS Safari

How do I debug Safari on iOS? These are my general steps, starting with not even using iOS Safari.

  1. Is this just a small-screen problem? Lemme just use the device mode in Chrome quick. Note that this does a …

The post Debugging iOS Safari appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/debugging-ios-safari/

4y | CSS tricks
Are Custom Properties a “Menu of What Will Change”?

PPK laid out an interesting situation in “Two options for using custom properties” where he and Stefan Judis had two different approaches for doing the same thing with custom properties. In one approach, hover and focus styles for a …

The post Are Custom Properties a “Menu of What Will Change”? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/are-custom-properties-a-menu-of-what-will-change/

4y | CSS tricks
A Crash Course in WordPress Block Filters

Blocks in WordPress are great. Drop some into the page, arrange them how you like, and you’ve got a pretty sweet landing page with little effort. But what if the default blocks in WordPress need a little tweaking? Like, what …

The post A Crash Course in WordPress Block Filters appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/a-crash-course-in-wordpress-block-filters/

4y | CSS tricks
Code blocks, but better

Pedro Duarte made a wishlist for styled code blocks in blog posts and documentation, then hand-rolls a perfect solution for that wishlist. For example, a feature to be able to highlight certain lines or words within the code block. The …

The post Code blocks, but better appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://ped.ro/blog/code-blocks-but-better

4y | CSS tricks
Jetpack Boost Handles Critical CSS For You

Critical CSS is one of those things I see in my performance reports but always seem to ignore. I know what it means. It means to put only the CSS required to render things immediately visible in a …

The post Jetpack Boost Handles Critical CSS For You appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/jetpack-boost-handles-critical-css-for-you/

4y | CSS tricks

Chercher