question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I use codekit and can not set an option in the console, please tell me which file to change the settings “strictMath:true” ?

.oval {
  -webkit-border-radius: 20px / 10px;
  -moz-border-radius: 20px / 10px;
  border-radius: 20px / 10px;
}

output:

.oval {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Soviutcommented, Aug 21, 2013

Exactly. To summarize:

If strictMath is ON, you must wrap all math operations in parenthesis: width: (100px / 5px);

If strict math is OFF, you do not need to wrap math operations: width: 100px / 5px; However, you will not be able to use the CSS3 font shorthand for setting font size and line height at the same time.

Do NOT use @options, it is still only a feature request.

0reactions
jonschlinkertcommented, Aug 21, 2013

to reiterate what @Soviut is saying, @options block is just a feature request atm. I would imagine that any feature that doesn’t exist would throw an error lol.

Read more comments on GitHub >

github_iconTop Results From Across the Web

StrictMath (Java Platform SE 8 ) - Oracle Help Center
The class StrictMath contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric ...
Read more >
What's the difference between java.lang.Math ... - Stack Overflow
StrictMath contains additional functions (hyperbolics etc.) which java.lang.Math doesn't, but is there a difference in the functions which ...
Read more >
StrictMath - Android Developers
The class StrictMath contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric ...
Read more >
Java.lang.StrictMath class in Java | Set 1 - GeeksforGeeks
StrictMath Class methods helps to perform the numeric operations like square, square root, cube, cube root, exponential and trigonometric ...
Read more >
Java.lang.StrictMath Class - Tutorialspoint
Java.lang.StrictMath Class, The java.lang.StrictMath class contains methods for performing basic numeric operations such as the elementary exponential, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found