CSS FlexBox By JUNAID.pdf

Verified academic study resource for CS619 (Final Year Project) under the Computer Science at Virtual University of Pakistan. This PDF document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS619 – Final Year Project
Faculty
Computer Science
Format
PDF
Type
Study Resource
Coverage
Full Course Curriculum

Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.

What this file covers — CS619 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CSS FlexBox By JUNAID.pdf for free?

You can preview and download "CSS FlexBox By JUNAID.pdf" (CS619 PDF, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/css-flexbox-by-junaid-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS619 file?

This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS619 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS619 solved past papers and handouts verified for 2026 exams?

Yes. All CS619 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                                           CSS FLEX BOX

CSS Flex BOX

      MUHAMMAD JUNAID

  0304-1659294 | junaidfazal08@gmail.com

AL-JUNAID INSTITUTE OF GROUP
What is Flex Box?
    Aims at providing an efficient and easy way to align items in a
     Container
    It is Direction Agnostic.

Properties for the Parent
(flex container)

This defines a flex container; inline or block depending on the given value. It
enables a flex context for all its direct children.

AL-JUNAID INSTITUTE OF GROUP
.container {
  display: flex; /* or inline-flex */
}
flex-direction:
This establishes the main-axis, thus defining the direction flex items are
placed in the flex container. Flexbox is (aside from optional wrapping) a
single-direction layout concept. Think of flex items as primarily laying out
either in horizontal rows or vertical columns.

.container {
  flex-direction: row | row-reverse | column | column-
reverse;
}
      row (default): left to right in ltr; right to left in rtl
      row-reverse: right to left in ltr; left to right in rtl
      column: same as row but UP and DOWN
      column-reverse: same as row-reverse but bottom to top

AL-JUNAID INSTITUTE OF GROUP
flex-wrap
By default, flex items will all try to fit onto one line. You can change that and
allow the items to wrap as needed with this property.

.container {
  flex-wrap: nowrap | wrap | wrap-reverse;
}
   nowrap (default): all flex items will be on one line
   wrap: flex items will wrap onto multiple lines, from top to bottom.

   wrap-reverse: flex items will wrap onto multiple lines from bottom to
    top.
HTML:
<ul class="flex-container nowrap">
 <li class="flex-item">1</li>
 <li class="flex-item">2</li>
 <li class="flex-item">3</li>
 <li class="flex-item">4</li>
 <li class="flex-item">5</li>
 <li class="flex-item">6</li>
 <li class="flex-item">7</li>
 <li class="flex-item">8</li>
</ul>
<ul class="flex-container wrap">
 <li class="flex-item">1</li>

AL-JUNAID INSTITUTE OF GROUP
 <li class="flex-item">2</li>
 <li class="flex-item">3</li>
 <li class="flex-item">4</li>
 <li class="flex-item">5</li>
 <li class="flex-item">6</li>
 <li class="flex-item">7</li>
 <li class="flex-item">8</li>
</ul>
<ul class="flex-container wrap-reverse">
 <li class="flex-item">1</li>
 <li class="flex-item">2</li>
 <li class="flex-item">3</li>
 <li class="flex-item">4</li>
 <li class="flex-item">5</li>
 <li class="flex-item">6</li>
 <li class="flex-item">7</li>
 <li class="flex-item">8</li>
</ul>
   CSS:
.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid silver;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
}
.nowrap {
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.wrap {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;

AL-JUNAID INSTITUTE OF GROUP
}
.wrap li {
  background: gold;
}

.wrap-reverse      {
  -webkit-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
}
.wrap-reverse li {
  background: deepskyblue;
}

.flex-item {
  background: tomato;
  padding: 5px;
  width: 100px;
  height: 100px;
  margin: 10px;

    line-height: 100px;
    color: white;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
}
OUTPUT:

AL-JUNAID INSTITUTE OF GROUP

flex-flow
This is a shorthand for the flex-direction and flex-wrap properties, which
together define the flex container’s main and cross axes. The default value
is row no wrap.

.container {
  flex-flow: column wrap;
}

AL-JUNAID INSTITUTE OF GROUP
justify-content
This defines the alignment along the main axis. It helps distribute extra free
space leftover when either all the flex items on a line are inflexible, or are
flexible but have reached their maximum size. It also exerts some control
over the alignment of items when they overflow the line.

.container {
  justify-content: flex-start | flex-end | center | space-between | space-around |
space-evenly | start | end | left | right ... + safe | unsafe;
}

AL-JUNAID INSTITUTE OF GROUP
      flex-start (default): items are packed toward the start of the flex-
       direction.
      flex-end: items are packed toward the end of the flex-direction.
      start: items are packed toward the start of the writing-mode direction.
      end: items are packed toward the end of the writing-mode direction.
      left: items are packed toward left edge of the container, unless that
       doesn’t make sense with the flex-direction, then it behaves like start.
      right: items are packed toward right edge of the container, unless that
       doesn’t make sense with the flex-direction, then it behaves like end.
      center: items are centered along the line
      space-between: items are evenly distributed in the line; first item is on
       the start line, last item on the end line
      space-around: items are evenly distributed in the line with equal space
       around them. Note that visually the spaces aren’t equal, since all the
       items have equal space on both sides. The first item will have one unit
       of space against the container edge, but two units of space between the
       next item because that next item has its own spacing that applies.
      space-evenly: items are distributed so that the spacing between any two
       items (and the space to the edges) is equal.
align-items
This defines the default behavior for how flex items are laid out along
the cross axis on the current line. Think of it as the justify-content version for
the cross-axis (perpendicular to the main-axis).

AL-JUNAID INSTITUTE OF GROUP

.container {
  align-items: stretch | flex-start | flex-end | center | baseline |
first baseline | last baseline | start | end | self-start | self-end +
... safe | unsafe;
}
     stretch (default): stretch to fill the container (still respect min-
      width/max-width)
     flex-start / start / self-start: items are placed at the start of the cross axis.
      The difference between these is subtle, and is about respecting the flex-

More CS619 files

All CS619 files · Midterm Prep 2026 · MCQs Bank