Comments (2)
Try closed issues as well.
from csswg-drafts.
Closest I've seen is "custom env", #2627 (comment).
There are also a few proposals for registering a bunch of custom properties (and their initial values) in a less verbose way.
make sure they don't get overwritten
Does that mean you want the first rule that sets a constant to determine the value, and any further attempts to (re)set the value should be ignored? E.g.:
@env { --foo: 10px; }
@env { --foo: 20px; }
div {
width: env(--foo); /* --10px */
}
from csswg-drafts.
Related Issues (20)
- [css-color-hdr] Where is the rec2100-pq/linear black luminance coming from? HOT 4
- [css-color-hdr] Absolute luminance of PQ HOT 9
- [css-ui] Pseudo-elements for stylable select HOT 2
- [css-viewport] interactive-widget=resizes-content - will that likely fix issues with fixed headers/footers and on-screen keyboards?
- [css-values-4][mediaqueries-4][mediaqueries-5] Duplicate definition of `<general-enclosed>` production
- Black about:blank page for dark themed OSes HOT 2
- [css-content] Styling applied to a quoted element should not affect the quotation marks HOT 1
- [css-animations] Define `animation-behavior` (counterpart to `transition-behavior`) HOT 6
- [cssom] There should be a way to test CSSStyleRules against Elements HOT 7
- [css-content] Allow for styling of generated content images
- [Container Queries] consider keep links to CQ features in contain-3 or redirect them to conditional-5 HOT 2
- [css-color-5] Out of range percentages in `color-mix()` seem to be implemented incorrectly in every major browser? HOT 2
- [css-values-5] Should we keep the single-argument form of calc-size() HOT 1
- [cssom] Resolved value for font-size should perhaps take user's minimum font-size into account HOT 1
- [cssom] There should be a way to get Character Position of the Stylesheet Elements
- [svg] Is there any way we could allow SVGs to link to other files? HOT 18
- [cssom-1][css-page-3] What descriptor does `CSSPageDescriptors.orientation` represent? HOT 3
- [css-color-5] Should `color-mix()` default to oklab interpolation? HOT 10
- [cssom]
- [css-rhythm-1] Add `content-box` to `block-step-insert` so authors can have content grow instead of adding space HOT 3
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 csswg-drafts.