.new {
display: grid;
padding: 10px;
grid-gap: 20px 50px;
}
.ntext {
display: flex;
flex-direction: column;
align-items: center;
line-height: 2em;
font-size: 1.5em;
flex-basis: 40%;
margin-bottom: 10%;
}
.NutTitle {
font-weight: 600;
color: #50555E;
}
.NutValue {
font-weight: 600;
color: #50555E;
}
.g {
font-size: smaller;
}
.NutRDA {
font-weight: 900;
color: #50555E;
}
.each {
grid-area: thetext;
}
.a1 {
background: url(https://ecombe.nahdionline.com/media/NutritionFacts/1a.png);
background-size: 100% 100%;
background-repeat: no-repeat;
grid-area: a1;
}
.a2 {
background: url(https://ecombe.nahdionline.com/media/NutritionFacts/2a.png);
background-size: 100% 100%;
background-repeat: no-repeat;
grid-area: a2;
}
.a3 {
background: url(https://ecombe.nahdionline.com/media/NutritionFacts/3a.png);
background-size: 100% 100%;
background-repeat: no-repeat;
grid-area: a3;
}
.a4 {
background: url(https://ecombe.nahdionline.com/media/NutritionFacts/4a.png);
background-size: 100% 100%;
background-repeat: no-repeat;
grid-area: a4;
}
.a5 {
background: url(https://ecombe.nahdionline.com/media/NutritionFacts/5a.png);
background-size: 100% 100%;
background-repeat: no-repeat;
grid-area: a5;
}
.a6 {
background: url(https://ecombe.nahdionline.com/media/NutritionFacts/6a.png);
background-size: 100% 100%;
background-repeat: no-repeat;
grid-area: a6;
}
.info {
grid-area: info;
}
.serve {
Font-weight: 600;
}
@media (max-width: 600px) {
.new {
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-areas:
'thetext thetext '
'a1 a2 '
'a3 a4 '
'a5 a6'
'info info ';
}
}
@media (min-width: 601px) and (max-width: 768px){
.new {
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-areas:
'thetext thetext thetext'
'a1 a2 a3 '
'a4 a5 a6 '
'info info info ';
}
}
@media (min-width: 769px) and (max-width: 1199px){
.new {
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-template-areas:
'thetext thetext thetext thetext '
'a1 a2 a3 a4'
'. a5 a6 .'
'info info info info ';
}
}
@media (min-width: 1200px) {
.new {
grid-template-columns: repeat(6, minmax(0, 1fr));
grid-template-areas:
'thetext thetext thetext thetext thetext thetext '
'a1 a2 a3 a4 a5 a6'
'info info info info info info ';
}
}
Each serving contains:
Cal.
220
11%
Protein
9g
16%
Carb.
33g
25.3%
Sugar
15g
41.6%
Fat
6g
8.5%
Sat.
1g
5%
% of adult reference intake
Product Details:
Product Description:
Product Features:
Each serving contains:
Cal.
220
11%
Protein
9g
16%
Carb.
33g
25.3%
Sugar
15g
41.6%
Fat
6g
8.5%
Sat.
1g
5%
% of adult reference intake
Product Details: