1
0
mirror of https://github.com/robsheldon/sscaffold-css.git synced 2025-08-19 12:11:20 +02:00

Update comments on box-sizing to include a reference to https://css-tricks.com/box-sizing/

This commit is contained in:
Rob
2019-12-22 16:13:26 -08:00
parent 0a74779fde
commit 74eb72c06b

View File

@@ -9,7 +9,7 @@
*, *,
*:after, *:after,
*:before { *:before {
/* Set default box sizing for all elements. [2] */ /* Set universal box sizing with inheritance. [3] */
box-sizing: inherit; box-sizing: inherit;
} }
@@ -19,7 +19,7 @@ html {
line-height: 1.15; line-height: 1.15;
/* Prevent adjustments of font size after orientation changes in iOS. [1] */ /* Prevent adjustments of font size after orientation changes in iOS. [1] */
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
/* Set a default box sizing. [2] */ /* Set universal box sizing with inheritance. [3] */
box-sizing: border-box; box-sizing: border-box;
} }
@@ -994,5 +994,6 @@ legend.inline {
* *
* [1] normalize.css, https://github.com/necolas/normalize.css/ * [1] normalize.css, https://github.com/necolas/normalize.css/
* [2] milligram.css, https://github.com/milligram/milligram/ * [2] milligram.css, https://github.com/milligram/milligram/
* [3] https://css-tricks.com/box-sizing/
* *
******************************************************************************/ ******************************************************************************/