Enable RWD for about section
This commit is contained in:
@@ -113,12 +113,13 @@
|
|||||||
<div class="about">
|
<div class="about">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="about__features col-6">
|
<div class="about__features col-12 col-xl-6">
|
||||||
|
<p class="about__title about__title--desktop"><Here is what you get></p>
|
||||||
<div class="row feature">
|
<div class="row feature">
|
||||||
<div class="col-3 feature__icon">
|
<div class="col-4 col-md-3 feature__icon">
|
||||||
<img src="img/features/1.png" alt=""/>
|
<img src="img/features/1.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-9">
|
<div class="col-8 col-md-9">
|
||||||
<p class="feature__title">
|
<p class="feature__title">
|
||||||
Created to Make The Web Better
|
Created to Make The Web Better
|
||||||
</p>
|
</p>
|
||||||
@@ -130,10 +131,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row feature">
|
<div class="row feature">
|
||||||
<div class="col-3 feature__icon">
|
<div class="col-4 col-md-3 feature__icon">
|
||||||
<img src="img/features/2.png" alt=""/>
|
<img src="img/features/2.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-9">
|
<div class="col-8 col-md-9">
|
||||||
<p class="feature__title">
|
<p class="feature__title">
|
||||||
Incredibly Powerful Tool
|
Incredibly Powerful Tool
|
||||||
</p>
|
</p>
|
||||||
@@ -145,10 +146,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row feature">
|
<div class="row feature">
|
||||||
<div class="col-3 feature__icon">
|
<div class="col-4 col-md-3 feature__icon">
|
||||||
<img src="img/features/3.png" alt=""/>
|
<img src="img/features/3.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-9">
|
<div class="col-8 col-md-9">
|
||||||
<p class="feature__title">
|
<p class="feature__title">
|
||||||
Experimental Stuff
|
Experimental Stuff
|
||||||
</p>
|
</p>
|
||||||
@@ -160,10 +161,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row feature">
|
<div class="row feature">
|
||||||
<div class="col-3 feature__icon">
|
<div class="col-4 col-md-3 feature__icon">
|
||||||
<img src="img/features/4.png" alt=""/>
|
<img src="img/features/4.png" alt=""/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-9">
|
<div class="col-8 col-md-9">
|
||||||
<p class="feature__title">
|
<p class="feature__title">
|
||||||
Created to Make The Web Better
|
Created to Make The Web Better
|
||||||
</p>
|
</p>
|
||||||
@@ -175,8 +176,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="about__what-you-get col-6">
|
<div class="about__what-you-get col-12 col-xl-6">
|
||||||
<p class="about__title about__title--no-wrap"><Here is what you get></p>
|
<p class="about__title about__title--no-wrap about__title--desktop-xl"><Here is what you get></p>
|
||||||
<img src="img/features/editor.png" alt="Revolutionary editor">
|
<img src="img/features/editor.png" alt="Revolutionary editor">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
.about {
|
.about {
|
||||||
background-color: $background-light;
|
background-color: $background-light;
|
||||||
padding: 75px 0 0 30px;
|
|
||||||
height: 710px;
|
@media all and (max-width: $desktop-xl) {
|
||||||
|
.about {
|
||||||
|
padding: 75px 0 0 30px;
|
||||||
|
height: 710px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.about__title {
|
.about__title {
|
||||||
@@ -13,4 +18,23 @@
|
|||||||
&--no-wrap {
|
&--no-wrap {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--desktop-xl {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
&--desktop {
|
||||||
|
display: none;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media all and (max-width: $desktop-xl) {
|
||||||
|
&--desktop-xl {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&--desktop {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.feature__icon {
|
.feature__icon {
|
||||||
text-align: center;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature__title {
|
.feature__title {
|
||||||
|
|||||||
Reference in New Issue
Block a user