4 ms·
In my limited experience I find CSS examples always make things look simple, but then in reality I'm forced to do something stupid like this for a 400px canvas:
by pinteresting 5y ago
In my limited experience I find CSS examples always make things look simple, but then in reality I'm forced to do something stupid like this for a 400px canvas:
left: 50%;
margin-left: -205px;
border: 0px;
width: 410px;
Because when sized to 400px it always clips 10 pixels of the canvas.
- woodrowbarlow 5y agoi'd have to poke around to be sure, but i have a suspicion: box-sizing: border-box; width: 400px; might be the fix for that scenario