Align Content

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 67:- Align Content

Converting a resume from traditional CSS layout to Flexbox involves making changes to the HTML and CSS code. Here is an example of how to convert a simple resume layout using traditional CSS to Flexbox:

HTML:

phpCopy code

<div class="resume">  <header class="resume-header">    <h1>John Doe</h1>    <p>Web Developer</p>  </header>  <main class="resume-main">    <section class="resume-section">      <h2>Education</h2>      <ul>        <li>Bachelor of Science in Computer Science</li>        <li>Master of Science in Web Development</li>      </ul>    </section>    <section class="resume-section">      <h2>Work Experience</h2>      <ul>        <li>Web Developer at XYZ Inc</li>        <li>Full-Stack Developer at ABC Inc</li>      </ul>    </section>  </main> </div>

CSS:

cssCopy code

.resume {  display: flex;  flex-direction: column;  align-items: center; } .resume-header {  margin-bottom: 2rem; } .resume-main {  display: flex;  flex-direction: row;  justify-content: space-between;  width: 80%; } .resume-section {  width: 45%; }

With Flexbox, the layout is more flexible, scalable, and responsive than traditional CSS. The Flexbox properties display: flex, flex-direction, align-items, and justify-content have been used to create the layout.

8. Flex

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support