Skip to content

Other issues with css #3865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mhxy13867806343 opened this issue Apr 22, 2019 · 2 comments
Closed

Other issues with css #3865

mhxy13867806343 opened this issue Apr 22, 2019 · 2 comments

Comments

@mhxy13867806343
Copy link

Can css provide loops and objects like js, as follows
Css{
   Url:for i in range(1,20)
}
Css[key]{
Video:url('a.mp4')
}

@w3c w3c deleted a comment from svgeesus Apr 24, 2019
@tabatkins
Copy link
Member

Hi! Unfortunately, it's not clear from your examples what you're asking for. I'll close this issue, but if you can describe the problem you're trying to solve with more detail, either in this issue or a new issue, we can discuss the feature.

@svgeesus
Copy link
Contributor

CSS is declarative. It does have variables (custom properties), but they can't hold multiple values because there is no order of execution.

Declarative vs. Imperative languages

@svgeesus svgeesus reopened this Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants