Created
December 25, 2024 08:50
-
-
Save dimaanj/48cf56fa4265d695a7259415ce5bf08f to your computer and use it in GitHub Desktop.
Revisions
-
dimaanj created this gist
Dec 25, 2024 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ Box model --------- A [Pen](https://codepen.io/Dmitriy_Tomashevich/pen/YPKQJYY) by [Dmitriy](https://codepen.io/Dmitriy_Tomashevich) on [CodePen](https://codepen.io). [License](https://codepen.io/license/pen/YPKQJYY). 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ <div class="box"></div> <div class="border-box"></div> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ .box { /* box-sizing: content-box; */ width: 350px; height: 150px; margin: 10px; padding: 25px; border: 5px solid black; } .border-box { box-sizing: border-box; width: 350px; height: 150px; margin: 10px; padding: 25px; border: 5px solid black; }