File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed
Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change 1- /*====== Start creating My own Framework for some repeated styles( Main Rulez) ======*/
1+ /*====== Start Main Rules ======*/
22
33/* CSS Variables */
4+
45: root {
56 --primary : # ddd ;
67 --dark : # 333 ;
1617
1718body {
1819 background-color : # ccc ;
19- margin : 30px 5 px ;
20+ margin : 30px 50 px ;
2021 line-height : 1.4 ;
2122}
2223
3738 grid-gap : 20px ;
3839}
3940
40- /*====== End Framework ======*/
41+ /*====== End Main Rules ======*/
4142
42- /*====== End Navigation ======*/
43+ /*====== Start Navigation ======*/
4344
4445.main-nav ul {
4546 display : grid;
@@ -106,10 +107,29 @@ img {
106107 color : var (--light );
107108}
108109
110+ /* TOP BOX */
111+
112+ .top-box {
113+ background-color : var (--primary );
114+ display : grid;
115+ align-items : center;
116+ justify-items : center;
117+ box-shadow : var (--shadow );
118+ padding : 1.5rem ;
119+ }
120+
121+ .top-box .price {
122+ font-size : 2.5rem ;
123+ }
124+
109125.top-box-a {
110126 grid-area : top-box-a;
111127}
128+
112129.top-box-b {
113130 grid-area : top-box-b;
114131}
132+
115133/*====== End Top Container ======*/
134+
135+ /* ====== Start Boxes Section ======*/
You can’t perform that action at this time.
0 commit comments