Skip to content

Commit 350de3f

Browse files
Merge pull request #48 from Aman-0604/fix-why-join-us-responsiveness
Fixed the responsiveness of why-to-join-us section
2 parents cf324db + 9c32322 commit 350de3f

File tree

4 files changed

+32
-17
lines changed

4 files changed

+32
-17
lines changed

.DS_Store

6 KB
Binary file not shown.

images/what we offer image.jpg

-1.44 KB
Loading

index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -300,19 +300,19 @@ <h1 class="heading text-center">
300300
</h1>
301301
<hr/>
302302
<br>
303-
<div class="container WhyToJoin">
304-
<ul class="content mobile-view">
305-
<li>Interaction with Students around the globe.</li>
306-
<li>Mentors support and guide.</li>
307-
<li>Webinars and workshops by Experts.</li>
308-
<li>Keeps to updated about latest opportunities.</li>
309-
<li>Hackathons and Intership Opportunities.</li>
310-
<li>Complete learning Environment.</li>
311-
</ul>
312-
313-
<div class="image">
314-
<img class="intro-image" src="./images/what we offer image.jpg" alt="What we Offer Image">
315-
</div>
303+
<div class="WhyToJoin">
304+
<ul class="content mobile-view">
305+
<li>Interaction with Students around the globe.</li>
306+
<li>Mentors support and guide.</li>
307+
<li>Webinars and workshops by Experts.</li>
308+
<li>Keeps to updated about latest opportunities.</li>
309+
<li>Hackathons and Intership Opportunities.</li>
310+
<li>Complete learning Environment.</li>
311+
</ul>
312+
313+
<div class="image">
314+
<img src="./images/what we offer image.jpg" alt="What we Offer Image">
315+
</div>
316316
</div>
317317

318318

style.css

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
vertical-align: middle;
116116
justify-content: right;
117117
}
118+
118119
/**first container area styling ends**/
119120

120121
hr {
@@ -313,13 +314,26 @@ footer {
313314
text-decoration: none;
314315
}
315316

317+
.WhyToJoin{
318+
display: flex;
319+
flex-direction: row;
320+
justify-content: space-evenly;
321+
}
322+
323+
@media screen and (min-width: 601px) and (max-width: 604px){
324+
.WeOffers ul {
325+
font-size: 15px;
326+
}
327+
}
328+
316329
@media screen and (max-width: 600px) {
317-
.WhyToJoin {
318-
flex-wrap: nowrap;
319-
justify-content: flex-start !important;
330+
.WhyToJoin{
331+
display: flex;
332+
flex-direction: row;
333+
justify-content: center;
320334
}
321335

322-
.WhyToJoin > .image > .intro-image {
336+
.WhyToJoin > .image {
323337
display: none;
324338
}
325339

@@ -343,3 +357,4 @@ footer {
343357
max-width: 80%;
344358
}
345359
}
360+

0 commit comments

Comments
 (0)