This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* https://css-tricks.com/full-width-containers-limited-width-parents/#no-calc-needed */ | |
| /* "No calc() needed" now with added calc()! */ | |
| .breakout { | |
| --main-bar: var(--scroll-bar, 0px); | |
| --main-half-bar: calc(var(--main-bar) / 2); | |
| width: 100vw; | |
| width: calc(100vw - var(--main-bar)); | |
| position: relative; | |
| left: 50%; | |
| right: 50%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export {} | |
| declare global { | |
| interface ObjectConstructor { | |
| /** | |
| * Checks to see if the given property is in the given object. | |
| * @param object Object to check in. | |
| * @param property Property to check for. |
OlderNewer