One of many CSS tricks with calc:
.side {
width: 33%;
width: calc( 249px + 1px );
}
.main {
width: 67%;
width: calc( 100% - 250px );
}
https://twitter.com/summerscope/status/861427935542075394
Written by
in Notes.
One of many CSS tricks with calc:
.side {
width: 33%;
width: calc( 249px + 1px );
}
.main {
width: 67%;
width: calc( 100% - 250px );
}
https://twitter.com/summerscope/status/861427935542075394
It only applies to browsers with calc support.
Does `width:calc( 249px + 1px )` do something that `width: 250px` doesn’t?
Leave a Reply