Comments (3)
Leave outline alone, for now :)
from sseeeedd.
Reopening with @fvsch's tweet inspiration and reading agin :focus-visible
's polyfill.
Could worth it, and at least sseeeedd's a great place to play with it.
from sseeeedd.
Also a very basic handy way to use it is:
// Using the :focus-visible polyfill to hide outline defensively
// See https://github.com/WICG/focus-visible
.js-focus-visible :focus:not(.focus-visible) {
outline: 0 !important;
}
But FWIW, I think I should go with CSS only (without polyfilling).
from sseeeedd.
Related Issues (20)
- `-webkit-overflow-scrolling: touch;` for scrollabler table
- `user-select: all` for code tag
- Custom properties in `<use>`d SVGs
- Space-separated syntax for colors
- SVG favicon HOT 1
- Options.js path HOT 1
- Drop favicon call HOT 1
- Use `<cite>` more appropriately
- Barebones fluid images
- Reduce cumulative layout shift HOT 1
- Scroll handling HOT 1
- Set `touch-action`on a, button
- `iframe` base styles
- Switch to Dart Sass
- <details> content does not inherit box-sizing
- Handle dependencies
- Switch to logical properties
- Check container/style queries
- Modern layouts
- Use @layer to handle specifity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sseeeedd.