Comments (10)
@mantleCurve check this article about using system-ui
: https://infinnie.github.io/blog/2017/systemui.html
from 30-seconds-of-css.
In my opinion, system-ui
should not be part of the font stack presented in the snippet. People might get in trouble using it and, if they actually need it, like @mantleCurve, they can always include it in their code. Snippets are supposed to be a starting point for common tasks, helping people get a project working. Everyone is encouraged to modify them to fit their specific needs and projects.
from 30-seconds-of-css.
Which IE? GitHub itself puts -apple-system
first
from 30-seconds-of-css.
In general, -apple-system
comes before BlinkMacSystemFont
in most font stacks I have seen.
from 30-seconds-of-css.
In ubuntu, the font i set for UI is not working. Probably need to use system-ui
from 30-seconds-of-css.
Does this work?
-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"
from 30-seconds-of-css.
This one works
-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"
from 30-seconds-of-css.
That makes sense. But in my case i wanted the system-ui font. I have seen spectre.css use it. That's why suggested.
from 30-seconds-of-css.
The current font stack works quite well on most systems and, having done some research, it's quite versatile, so we're gonna stick with it for now. However, it most certainly cannot acommodate everyone's needs. Snippets are a starting point for common tasks and we encourage developers to tweak them and alter them to suit their needs.
from 30-seconds-of-css.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for any follow-up tasks.
from 30-seconds-of-css.
Related Issues (20)
- [FEATURE] Multiline truncation HOT 2
- how to build this? HOT 19
- [BUG] Animation / Button Border Animation not clickable HOT 4
- [QUESTION] Used color scheme? HOT 2
- PWA feature HOT 3
- Chinese translation HOT 8
- Sorry, I am coming again. HOT 1
- Reinstate old UI and website link HOT 30
- [BUG] offscreen snippet links to scetchy/phising website HOT 1
- Scam site linked in one of the snippets HOT 1
- Change the selection color HOT 2
- [Enhancement] Fix typo in about section on the html page HOT 1
- A (hopefully) better Hamburger Button HOT 2
- Adding More Snippets for CSS HOT 5
- Add side effect note for the css rules HOT 2
- The preview image in "Image Rotate on Hover" is broken. HOT 2
- Is 30-seconds-of-css not participating in Hacktoberfest? HOT 2
- CSS Neumorphic Buttons HOT 2
- CSS : Neumorphic Buttons HOT 2
- Website horizontal scroll (CSS issue) HOT 1
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 30-seconds-of-css.