Skip to content
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

[css-inner-navigation] Brackets, calc() #1877

Closed
Array23 opened this issue Oct 15, 2017 · 3 comments
Closed

[css-inner-navigation] Brackets, calc() #1877

Array23 opened this issue Oct 15, 2017 · 3 comments

Comments

@Array23
Copy link

Array23 commented Oct 15, 2017

First we need to have some blocks...

div {
?:(~selector)-abc;
 heigh: 420px;
 background: #232323;
 foreground: #ececec; }{
?:abc-fonts;
 font-size: 16px;
 }
div div.class {
height: calc( (\div-abc.height / 100 )*20) // even better would be calc(<20%||0.2> of \div-abc.height);
width: calc(2 of \abc-fonts); // is 200% of whatever abc-font-size ends up to be...

So we have here few things
#1
Aliases, ... ? property is alias of bracket, that can be used in calc.
#2
Brackets,... One selector can have multiple CSS rules... // ruins backwards compatibility, but with aliasing is awesome... Can come handy when you edit css by javascript, you must unserialize and reserialize whole box, ... This makes it chunked so less resources needed... Also I'm going to write something about this in EMCA... I have some improvement, in css handling by script... It just have some backwards compatibility issues, because there are arrays in place where object is needed, also object, where faster would be array...
#3
calc can handle different css property as number... yes, it does stuff like 100% of body - 1.61* padding of something... Makes things easier when you want to gold cut everything...
#4
background and foreground, I have mentioned that elsewhere

@tabatkins
Copy link
Member

I can't figure out what you're trying to suggest here. It looks like multiple inter-related suggestions, but none of them are called out in enough detail for me to figure out what any of them are.

Can you separate these suggestions out, and elaborate on what each is, and more importantly, what problem you have today with your stylesheet that you are attempting to solve with each of these suggestions?

@Array23
Copy link
Author

Array23 commented Nov 7, 2017

Read it 4 times, I don't have to write 4x longer text for somebody to understand.

@astearns
Copy link
Member

astearns commented Nov 8, 2017

Yes you do, when someone asks a reasonable question. I'm closing this issue because we can't figure out what you're asking for. If you're willing to be more responsive, please do open new issues (one per request).

@astearns astearns closed this as completed Nov 8, 2017
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