SlideShare a Scribd company logo
1 of 53
Download to read offline
webdev@rgu
CSS Frameworks
overview
what are frameworks
types of frameworks
frontend (CSS) Frameworks
flex box
unsemantic
what are
frameworks?
a standardised set of concepts,
practices and criteria for dealing
with a common type of problem
a package made up files and
folders of standardised code to aid
in the development of websites
In general
In web design
websites have common features,
menu bars…layout in grids…columns
Menu Bars
column layouts
surely there must therefore be an
easy way for us to use this to our
advantage
Grid SYstem
and have a layout system that we
can call on to do all the hard work
for us
“the aim of frameworks is to give
developers a common structure so
that we don't have to make
everything from scratch every time
that we want to make a new
websites”
in simpler terms…think of these like
templates!
types of
frameworks
frontend backend
(client Side) (server Side)
Presentation
Layer
Application
Layer
Data
Layer
frontend(client Side)
These are frameworks that effect the
overall look and feel of the website - the
user interface
flexbox
not really a
framework but its
still quite cool
backend(server Side)
These frameworks can effect the overall
logic and operation of a website
(ish)
frontend (CSS)
frameworks
frontend frameworks usually consist
of a package with several files for
standardising our code.
1. CSS Source to create a grid
2. Typography and style definitions
3. Solutions for browser incompatibility
4. Creation of standard classes
lots (and lots and lots) exist that you
can use!
http://usablica.github.io/front-end-frameworks/compare.html
we’re going to look at the first in this
list
1. CSS Source to create a grid
2. Typography and style definitions
3. Solutions for browser incompatibility
4. Creation of standard classes
two introductions and then you can
give them a go yourself
PS - there is no right answer for which of these
is better - it is up to you!
frontend (CSS)
frameworks
FLEXBOX
• this isn’t really a framework, but its
a really good new addition to
CSS3 that makes our life easier
• We can use this to aid in laying
out our webpages
• A flex container is used to
contain all of our flex items
flex box
Overall compatibility is quite good.
IE is still annoying…
Compatibility
http://caniuse.com/#feat=flexbox
…
<body>
<main>
<section class="container">
<h2>Section 1</h2>
</section>
<section class="container">
<h2>Section 2</h2>
</section>
<section class="container">
<h2>Section 3</h2>
</section>
</main>
</body>
…
html
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 400px;

background-color: aliceblue;

}



.container{

background-color: gold;

height: 100px;

width: 100px;

}
css
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 400px;

background-color: aliceblue;

display: flex;
display: -webkit-flex /*Safari */

}



.container{

background-color: gold;

height: 100px;

width: 100px;

}
set display to flex, this means that
all child elements will be affected
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 400px;

background-color: aliceblue;

display: flex;
display: -webkit-flex /*Safari */
flex-direction: XXXXXXX

}



.container{

background-color: gold;

height: 100px;

width: 100px;

}
set the direction that we want the
elements to go in
row row-reverse
column column-reverse
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 400px;

background-color: aliceblue;

display: flex;
display: -webkit-flex /*Safari */
flex-direction: row;

}



.container{

background-color: gold;

height: 100px;

width: 100px;

}
we’ll stick with row,
this is also the default one
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 400px;

background-color: aliceblue;

display: flex;

flex-direction: row;

justify-content: XXXXX ;

}



.container{

background-color: gold;

height: 100px;

width: 100px;

}
Set the justification of the content
flex-start
centre
flex-end
space-around
space-between
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 400px;

background-color: aliceblue;

display: flex;

flex-direction: row;

justify-content: space-between ;

}



.container{

background-color: gold;

height: 100px;

width: 100px;

}
lets go for space between, and aim
for a generic 3 column layout
…
<body>



<main>



<section class="container" id="cont1">

<h2>Section 1</h2>

</section>



<section class="container" id="cont2">

<h2>Section 2</h2>

</section>



<section class="container" id="cont3">

<h2>Section 3</h2>

</section>



</main>



</body>
… we can also change individual items,
give them ids first
…

.container{

height: 100px;

width: 100px;

}
#cont1 {

background-color: gold;

}



#cont2 {

background-color: silver;

}



#cont3 {

background-color: saddlebrown;

}
…
and lets change their colours to be
different to make it easier to see
.container{

height: 100px;

width: 100px;

}
#cont1 {

background-color: gold;

order: 2;

}

#cont2 {

background-color: silver;

order: 3;

}



#cont3 {

background-color: saddlebrown;

order: 1;

}
we can change the order
.container{

height: 100px;

flex-grow: 1;

}



#cont1 {

background-color: gold;

order: 2;

}

#cont2 {

background-color: silver;

order: 3;

}



#cont3 {

background-color: saddlebrown;

order: 1;

}
use flex-grow to make all columns
the same size
.container{

height: 100px;

}



#cont1 {

background-color: gold;

order: 2;

flex-grow: 3;

}

#cont2 {

background-color: silver;

order: 3;

flex-grow: 2;

}



#cont3 {

background-color: saddlebrown;

order: 1;

flex-grow: 1;

}
or size each individually (numbers
are relative)
.container{

height: 100px;

margin: 10px;

}



#cont1 {

background-color: gold;

order: 2;

flex-grow: 3;

}

#cont2 {

background-color: silver;

order: 3;

flex-grow: 2;

}



#cont3 {

background-color: saddlebrown;

order: 1;

flex-grow: 1;

}
box rule still applies so we can add
additional layout options
…
<main>



<section class="container" id="cont1">

<h2>Section 1</h2>

<p>Lorem ipsum… </p>

</section>



<section class="container" id="cont2">

<h2>Section 2</h2>

<p>Lorem ipsum…</p>

</section>



<section class="container" id="cont3">

<h2>Section 3</h2>

<p>Tiny bit of text</p>

</section>



</main>
…
lets add some content into the boxes
#whoops!!!
.container{

margin: 10px;

}



#cont1 {

background-color: gold;

order: 2;

flex-grow: 3;

}

#cont2 {

background-color: silver;

order: 3;

flex-grow: 2;

}



#cont3 {

background-color: saddlebrown;

order: 1;

flex-grow: 1;

}
take out the ‘height’ from .container
to fix that little bit!
And that’s just the start of it!
the lovely people over at
have a really good tutorial on how
you can do lots lots more
frontend (CSS)
frameworks
unsemantic
works in a similar way to flexbox but
(I think) it is a lot easier to use
http://unsemantic.com/
<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>Title</title>

<link rel="stylesheet" href="style.css">

<link rel="stylesheet"
href="unsemantic-grid-responsive-
tablet.css">

</head>

<body>



<main>



<section class="container" id="cont1">

<h2>Section 1</h2>

<p>Lorem ipsum…</p>

</section>



<section class="container" id="cont2">

<h2>Section 2</h2>

<p>Lorem ipsum …</p>

</section>



<section class="container" id="cont3">

<h2>Section 3</h2>

<p>Lorem ipsum…</p>

</section>



</main>



</body>

</html>
add the unsemantic style sheet to
your html
body {

background-color: cornflowerblue;

}



main {

max-width: 960px;

margin-right: auto;

margin-left: auto;

height: 500px;

background-color: aliceblue;

}



#cont1 {

background-color: gold;



}

#cont2 {

background-color: silver;



}



#cont3 {

background-color: saddlebrown;

}
and this is our css…lets
not touch it again!!!
we’re going to use the CSS that
is already made for us by
unsemantic from this point
quick game
1. open up the unsemantic css file
2. cry
3. close it and never open it again
<head>

<meta charset="UTF-8">

<title>Title</title>

<link rel="stylesheet" href="style.css">

<link rel="stylesheet" href="unsemantic-
grid-responsive-tablet.css">

<meta

name="viewport"

content="

width=device-width,

initial-scale=1,

minimum-scale=1,

maximum-scale=1"

/>

</head>
step 1 - add this line inside your
<head>
This saves <head>aches later on!
<body>



<main class="grid-container">



<section id="cont1">

<h2>Section 1</h2>

<p>Lorem ipsum…</p>

</section>



<section id="cont2">

<h2>Section 2</h2>

<p>…</p>

</section>



<section id="cont3">

<h2>Section 3</h2>

<p>Lorem ipsum…</p>

</section>



</main>



</body>
step 2 - content that we want inside a
grid must live inside a grid container
class
<body>



<main class="grid-container">



<section class=“grid-33” id=“cont1”>

<h2>Section 1</h2>

<p>Lorem ipsum…</p>

</section>



<section class=“grid-33” id="cont2">

<h2>Section 2</h2>

<p>…</p>

</section>



<section class=“grid-33” id="cont3">

<h2>Section 3</h2>

<p>Lorem ipsum…</p>

</section>



</main>



</body>
step 3- we give our columns a class
that corresponds to the % width
that we want them to be
<body>



<main class="grid-container">



<section class=“grid-25” id=“cont1”>

<h2>Section 1</h2>

<p>Lorem ipsum…</p>

</section>



<section class=“grid-50” id="cont2">

<h2>Section 2</h2>

<p>…</p>

</section>



<section class=“grid-25” id="cont3">

<h2>Section 3</h2>

<p>Lorem ipsum…</p>

</section>



</main>



</body>
step 4- if you want a margin you
need to use grid-parent and
next your items
…

<section class="grid-25" id="cont1">

<h2>Section 1</h2>

<p>…</p>

</section>



<div id="subsection" class="grid-50
grid-parent">

<section class="grid-90 suffix-5
prefix-5" id="cont2">



<h2>Section 2</h2>

<p>Lorem ipsum…</p>

</section>

</div>



<section class="grid-25" id="cont3">

<h2>Section 3</h2>

<p>…</p>

</section>

#responsive?
(slightly) responsive out of the
box but we can make this even
better
<main class="grid-container">



<section class="grid-33 tablet-grid-50
mobile-grid-100" id="cont1">

<h2>Section 1</h2>



<p>…</p>

</section>



<section class="grid-33 tablet-grid-50
mobile-grid-100" id="cont2">



<h2>Section 2</h2>



<p>…</p>



</section>



<section class="grid-33 tablet-grid-100
mobile-grid-100" id="cont3">

<h2>Section 3</h2>



<p>…</p>

</section>



</main>
(slightly) responsive out of the
box but we can make this even
better
<section class="grid-33 tablet-grid-50 mobile-grid-100" id="cont1">
normal size
size on a
tablet
size on a
mobile
out of
the box
adjusted
same as before…there are lots of
other things that you can do with
this framework as well!
Have a look at the unsemantic
website for more
recap
what are frameworks
types of frameworks
frontend (CSS) Frameworks
flex box
unsemantic

More Related Content

What's hot

HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web DevelopmentRahul Mishra
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSNaga Harish M
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSTJ Stalcup
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlantaThinkful
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsSun Technlogies
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopShay Howe
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Gheyath M. Othman
 
Findability Bliss Through Web Standards
Findability Bliss Through Web StandardsFindability Bliss Through Web Standards
Findability Bliss Through Web StandardsAarron Walter
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5Robert Nyman
 
Web Design Course: CSS lecture 2
Web Design Course: CSS  lecture 2Web Design Course: CSS  lecture 2
Web Design Course: CSS lecture 2Gheyath M. Othman
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete ReferenceEPAM Systems
 
Web Design Course: CSS lecture 4
Web Design Course: CSS  lecture 4Web Design Course: CSS  lecture 4
Web Design Course: CSS lecture 4Gheyath M. Othman
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSdanpaquette
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)Daniel Friedman
 
An Intro to HTML & CSS
An Intro to HTML & CSSAn Intro to HTML & CSS
An Intro to HTML & CSSShay Howe
 
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)Michaela Lehr
 
Web Design Course: CSS lecture 5
Web Design Course: CSS  lecture 5Web Design Course: CSS  lecture 5
Web Design Course: CSS lecture 5Gheyath M. Othman
 

What's hot (20)

Artdm171 Week4 Tags
Artdm171 Week4 TagsArtdm171 Week4 Tags
Artdm171 Week4 Tags
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web Development
 
Page layout with css
Page layout with cssPage layout with css
Page layout with css
 
About Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JSAbout Best friends - HTML, CSS and JS
About Best friends - HTML, CSS and JS
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlanta
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS Workshop
 
Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1Web Design Course: CSS lecture 1
Web Design Course: CSS lecture 1
 
Findability Bliss Through Web Standards
Findability Bliss Through Web StandardsFindability Bliss Through Web Standards
Findability Bliss Through Web Standards
 
Web Development
Web DevelopmentWeb Development
Web Development
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
Web Design Course: CSS lecture 2
Web Design Course: CSS  lecture 2Web Design Course: CSS  lecture 2
Web Design Course: CSS lecture 2
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
Web Design Course: CSS lecture 4
Web Design Course: CSS  lecture 4Web Design Course: CSS  lecture 4
Web Design Course: CSS lecture 4
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 
An Intro to HTML & CSS
An Intro to HTML & CSSAn Intro to HTML & CSS
An Intro to HTML & CSS
 
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
 
Web Design Course: CSS lecture 5
Web Design Course: CSS  lecture 5Web Design Course: CSS  lecture 5
Web Design Course: CSS lecture 5
 

Similar to CSS Frameworks

Web Design Bootcamp - Day1
Web Design Bootcamp - Day1Web Design Bootcamp - Day1
Web Design Bootcamp - Day1Aslam Najeebdeen
 
Front-End Methodologies
Front-End MethodologiesFront-End Methodologies
Front-End MethodologiesArash Manteghi
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSSanjoy Kr. Paul
 
CSS pattern libraries
CSS pattern librariesCSS pattern libraries
CSS pattern librariesRuss Weakley
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Hatem Mahmoud
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Designmlincol2
 
CSS framework By Palash
CSS framework By PalashCSS framework By Palash
CSS framework By PalashPalashBajpai
 
Advance Css
Advance CssAdvance Css
Advance Cssvijayta
 
Advance Css 1194323118268797 5
Advance Css 1194323118268797 5Advance Css 1194323118268797 5
Advance Css 1194323118268797 5dharshyamal
 
An Introduction to CSS Frameworks
An Introduction to CSS FrameworksAn Introduction to CSS Frameworks
An Introduction to CSS FrameworksAdrian Westlake
 
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}Eric Carlisle
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
The New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP ConferenceThe New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP ConferenceRachel Andrew
 

Similar to CSS Frameworks (20)

HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
Pfnp slides
Pfnp slidesPfnp slides
Pfnp slides
 
Web Design Bootcamp - Day1
Web Design Bootcamp - Day1Web Design Bootcamp - Day1
Web Design Bootcamp - Day1
 
Css
CssCss
Css
 
Front-End Methodologies
Front-End MethodologiesFront-End Methodologies
Front-End Methodologies
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
 
CSS pattern libraries
CSS pattern librariesCSS pattern libraries
CSS pattern libraries
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Design
 
CSS framework By Palash
CSS framework By PalashCSS framework By Palash
CSS framework By Palash
 
Advance Css
Advance CssAdvance Css
Advance Css
 
Advance Css 1194323118268797 5
Advance Css 1194323118268797 5Advance Css 1194323118268797 5
Advance Css 1194323118268797 5
 
An Introduction to CSS Frameworks
An Introduction to CSS FrameworksAn Introduction to CSS Frameworks
An Introduction to CSS Frameworks
 
Bootstrap 3
Bootstrap 3Bootstrap 3
Bootstrap 3
 
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
The New UI - Staying Strong with Flexbox, SASS, and {{Mustache.js}}
 
Evolution of CSS
Evolution of CSSEvolution of CSS
Evolution of CSS
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
The New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP ConferenceThe New CSS Layout - Dutch PHP Conference
The New CSS Layout - Dutch PHP Conference
 

More from Mike Crabb

Hard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach PlacesHard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach PlacesMike Crabb
 
Accessible and Assistive Interfaces
Accessible and Assistive InterfacesAccessible and Assistive Interfaces
Accessible and Assistive InterfacesMike Crabb
 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible EveryoneMike Crabb
 
The Peer Review Process
The Peer Review ProcessThe Peer Review Process
The Peer Review ProcessMike Crabb
 
Managing Quality In Qualitative Research
Managing Quality In Qualitative ResearchManaging Quality In Qualitative Research
Managing Quality In Qualitative ResearchMike Crabb
 
Analysing Qualitative Data
Analysing Qualitative DataAnalysing Qualitative Data
Analysing Qualitative DataMike Crabb
 
Conversation Discourse and Document Analysis
Conversation Discourse and Document AnalysisConversation Discourse and Document Analysis
Conversation Discourse and Document AnalysisMike Crabb
 
Ethnographic and Observational Research
Ethnographic and Observational ResearchEthnographic and Observational Research
Ethnographic and Observational ResearchMike Crabb
 
Doing Focus Groups
Doing Focus GroupsDoing Focus Groups
Doing Focus GroupsMike Crabb
 
Doing Interviews
Doing InterviewsDoing Interviews
Doing InterviewsMike Crabb
 
Designing Qualitative Research
Designing Qualitative ResearchDesigning Qualitative Research
Designing Qualitative ResearchMike Crabb
 
Introduction to Accessible Design
Introduction to Accessible DesignIntroduction to Accessible Design
Introduction to Accessible DesignMike Crabb
 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible EveryoneMike Crabb
 
Texture and Glyph Design
Texture and Glyph DesignTexture and Glyph Design
Texture and Glyph DesignMike Crabb
 
Pattern Perception and Map Design
Pattern Perception and Map DesignPattern Perception and Map Design
Pattern Perception and Map DesignMike Crabb
 
Dealing with Enterprise Level Data
Dealing with Enterprise Level DataDealing with Enterprise Level Data
Dealing with Enterprise Level DataMike Crabb
 
Using Cloud in an Enterprise Environment
Using Cloud in an Enterprise EnvironmentUsing Cloud in an Enterprise Environment
Using Cloud in an Enterprise EnvironmentMike Crabb
 
Teaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of TomorrowTeaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of TomorrowMike Crabb
 
Sql Injection and XSS
Sql Injection and XSSSql Injection and XSS
Sql Injection and XSSMike Crabb
 
Forms and Databases in PHP
Forms and Databases in PHPForms and Databases in PHP
Forms and Databases in PHPMike Crabb
 

More from Mike Crabb (20)

Hard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach PlacesHard to Reach Users in Easy to Reach Places
Hard to Reach Users in Easy to Reach Places
 
Accessible and Assistive Interfaces
Accessible and Assistive InterfacesAccessible and Assistive Interfaces
Accessible and Assistive Interfaces
 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible Everyone
 
The Peer Review Process
The Peer Review ProcessThe Peer Review Process
The Peer Review Process
 
Managing Quality In Qualitative Research
Managing Quality In Qualitative ResearchManaging Quality In Qualitative Research
Managing Quality In Qualitative Research
 
Analysing Qualitative Data
Analysing Qualitative DataAnalysing Qualitative Data
Analysing Qualitative Data
 
Conversation Discourse and Document Analysis
Conversation Discourse and Document AnalysisConversation Discourse and Document Analysis
Conversation Discourse and Document Analysis
 
Ethnographic and Observational Research
Ethnographic and Observational ResearchEthnographic and Observational Research
Ethnographic and Observational Research
 
Doing Focus Groups
Doing Focus GroupsDoing Focus Groups
Doing Focus Groups
 
Doing Interviews
Doing InterviewsDoing Interviews
Doing Interviews
 
Designing Qualitative Research
Designing Qualitative ResearchDesigning Qualitative Research
Designing Qualitative Research
 
Introduction to Accessible Design
Introduction to Accessible DesignIntroduction to Accessible Design
Introduction to Accessible Design
 
Accessible Everyone
Accessible EveryoneAccessible Everyone
Accessible Everyone
 
Texture and Glyph Design
Texture and Glyph DesignTexture and Glyph Design
Texture and Glyph Design
 
Pattern Perception and Map Design
Pattern Perception and Map DesignPattern Perception and Map Design
Pattern Perception and Map Design
 
Dealing with Enterprise Level Data
Dealing with Enterprise Level DataDealing with Enterprise Level Data
Dealing with Enterprise Level Data
 
Using Cloud in an Enterprise Environment
Using Cloud in an Enterprise EnvironmentUsing Cloud in an Enterprise Environment
Using Cloud in an Enterprise Environment
 
Teaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of TomorrowTeaching Cloud to the Programmers of Tomorrow
Teaching Cloud to the Programmers of Tomorrow
 
Sql Injection and XSS
Sql Injection and XSSSql Injection and XSS
Sql Injection and XSS
 
Forms and Databases in PHP
Forms and Databases in PHPForms and Databases in PHP
Forms and Databases in PHP
 

Recently uploaded

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 

Recently uploaded (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 

CSS Frameworks

  • 2. overview what are frameworks types of frameworks frontend (CSS) Frameworks flex box unsemantic
  • 4. a standardised set of concepts, practices and criteria for dealing with a common type of problem a package made up files and folders of standardised code to aid in the development of websites In general In web design
  • 5. websites have common features, menu bars…layout in grids…columns Menu Bars
  • 6. column layouts surely there must therefore be an easy way for us to use this to our advantage
  • 7. Grid SYstem and have a layout system that we can call on to do all the hard work for us
  • 8. “the aim of frameworks is to give developers a common structure so that we don't have to make everything from scratch every time that we want to make a new websites”
  • 9. in simpler terms…think of these like templates!
  • 11. frontend backend (client Side) (server Side) Presentation Layer Application Layer Data Layer
  • 12. frontend(client Side) These are frameworks that effect the overall look and feel of the website - the user interface flexbox not really a framework but its still quite cool
  • 13. backend(server Side) These frameworks can effect the overall logic and operation of a website (ish)
  • 15. frontend frameworks usually consist of a package with several files for standardising our code. 1. CSS Source to create a grid 2. Typography and style definitions 3. Solutions for browser incompatibility 4. Creation of standard classes
  • 16. lots (and lots and lots) exist that you can use! http://usablica.github.io/front-end-frameworks/compare.html
  • 17. we’re going to look at the first in this list 1. CSS Source to create a grid 2. Typography and style definitions 3. Solutions for browser incompatibility 4. Creation of standard classes two introductions and then you can give them a go yourself PS - there is no right answer for which of these is better - it is up to you!
  • 19. • this isn’t really a framework, but its a really good new addition to CSS3 that makes our life easier • We can use this to aid in laying out our webpages • A flex container is used to contain all of our flex items flex box
  • 20. Overall compatibility is quite good. IE is still annoying… Compatibility http://caniuse.com/#feat=flexbox
  • 21. … <body> <main> <section class="container"> <h2>Section 1</h2> </section> <section class="container"> <h2>Section 2</h2> </section> <section class="container"> <h2>Section 3</h2> </section> </main> </body> … html
  • 22. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 400px;
 background-color: aliceblue;
 }
 
 .container{
 background-color: gold;
 height: 100px;
 width: 100px;
 } css
  • 23. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 400px;
 background-color: aliceblue;
 display: flex; display: -webkit-flex /*Safari */
 }
 
 .container{
 background-color: gold;
 height: 100px;
 width: 100px;
 } set display to flex, this means that all child elements will be affected
  • 24. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 400px;
 background-color: aliceblue;
 display: flex; display: -webkit-flex /*Safari */ flex-direction: XXXXXXX
 }
 
 .container{
 background-color: gold;
 height: 100px;
 width: 100px;
 } set the direction that we want the elements to go in row row-reverse column column-reverse
  • 25. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 400px;
 background-color: aliceblue;
 display: flex; display: -webkit-flex /*Safari */ flex-direction: row;
 }
 
 .container{
 background-color: gold;
 height: 100px;
 width: 100px;
 } we’ll stick with row, this is also the default one
  • 26. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 400px;
 background-color: aliceblue;
 display: flex;
 flex-direction: row;
 justify-content: XXXXX ;
 }
 
 .container{
 background-color: gold;
 height: 100px;
 width: 100px;
 } Set the justification of the content flex-start centre flex-end space-around space-between
  • 27. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 400px;
 background-color: aliceblue;
 display: flex;
 flex-direction: row;
 justify-content: space-between ;
 }
 
 .container{
 background-color: gold;
 height: 100px;
 width: 100px;
 } lets go for space between, and aim for a generic 3 column layout
  • 28. … <body>
 
 <main>
 
 <section class="container" id="cont1">
 <h2>Section 1</h2>
 </section>
 
 <section class="container" id="cont2">
 <h2>Section 2</h2>
 </section>
 
 <section class="container" id="cont3">
 <h2>Section 3</h2>
 </section>
 
 </main>
 
 </body> … we can also change individual items, give them ids first
  • 29. …
 .container{
 height: 100px;
 width: 100px;
 } #cont1 {
 background-color: gold;
 }
 
 #cont2 {
 background-color: silver;
 }
 
 #cont3 {
 background-color: saddlebrown;
 } … and lets change their colours to be different to make it easier to see
  • 30. .container{
 height: 100px;
 width: 100px;
 } #cont1 {
 background-color: gold;
 order: 2;
 }
 #cont2 {
 background-color: silver;
 order: 3;
 }
 
 #cont3 {
 background-color: saddlebrown;
 order: 1;
 } we can change the order
  • 31. .container{
 height: 100px;
 flex-grow: 1;
 }
 
 #cont1 {
 background-color: gold;
 order: 2;
 }
 #cont2 {
 background-color: silver;
 order: 3;
 }
 
 #cont3 {
 background-color: saddlebrown;
 order: 1;
 } use flex-grow to make all columns the same size
  • 32. .container{
 height: 100px;
 }
 
 #cont1 {
 background-color: gold;
 order: 2;
 flex-grow: 3;
 }
 #cont2 {
 background-color: silver;
 order: 3;
 flex-grow: 2;
 }
 
 #cont3 {
 background-color: saddlebrown;
 order: 1;
 flex-grow: 1;
 } or size each individually (numbers are relative)
  • 33. .container{
 height: 100px;
 margin: 10px;
 }
 
 #cont1 {
 background-color: gold;
 order: 2;
 flex-grow: 3;
 }
 #cont2 {
 background-color: silver;
 order: 3;
 flex-grow: 2;
 }
 
 #cont3 {
 background-color: saddlebrown;
 order: 1;
 flex-grow: 1;
 } box rule still applies so we can add additional layout options
  • 34. … <main>
 
 <section class="container" id="cont1">
 <h2>Section 1</h2>
 <p>Lorem ipsum… </p>
 </section>
 
 <section class="container" id="cont2">
 <h2>Section 2</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 <section class="container" id="cont3">
 <h2>Section 3</h2>
 <p>Tiny bit of text</p>
 </section>
 
 </main> … lets add some content into the boxes #whoops!!!
  • 35. .container{
 margin: 10px;
 }
 
 #cont1 {
 background-color: gold;
 order: 2;
 flex-grow: 3;
 }
 #cont2 {
 background-color: silver;
 order: 3;
 flex-grow: 2;
 }
 
 #cont3 {
 background-color: saddlebrown;
 order: 1;
 flex-grow: 1;
 } take out the ‘height’ from .container to fix that little bit!
  • 36. And that’s just the start of it! the lovely people over at have a really good tutorial on how you can do lots lots more
  • 38. works in a similar way to flexbox but (I think) it is a lot easier to use http://unsemantic.com/
  • 39. <!DOCTYPE html>
 <html lang="en">
 <head>
 <meta charset="UTF-8">
 <title>Title</title>
 <link rel="stylesheet" href="style.css">
 <link rel="stylesheet" href="unsemantic-grid-responsive- tablet.css">
 </head>
 <body>
 
 <main>
 
 <section class="container" id="cont1">
 <h2>Section 1</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 <section class="container" id="cont2">
 <h2>Section 2</h2>
 <p>Lorem ipsum …</p>
 </section>
 
 <section class="container" id="cont3">
 <h2>Section 3</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 </main>
 
 </body>
 </html> add the unsemantic style sheet to your html
  • 40. body {
 background-color: cornflowerblue;
 }
 
 main {
 max-width: 960px;
 margin-right: auto;
 margin-left: auto;
 height: 500px;
 background-color: aliceblue;
 }
 
 #cont1 {
 background-color: gold;
 
 }
 #cont2 {
 background-color: silver;
 
 }
 
 #cont3 {
 background-color: saddlebrown;
 } and this is our css…lets not touch it again!!!
  • 41. we’re going to use the CSS that is already made for us by unsemantic from this point quick game 1. open up the unsemantic css file 2. cry 3. close it and never open it again
  • 42. <head>
 <meta charset="UTF-8">
 <title>Title</title>
 <link rel="stylesheet" href="style.css">
 <link rel="stylesheet" href="unsemantic- grid-responsive-tablet.css">
 <meta
 name="viewport"
 content="
 width=device-width,
 initial-scale=1,
 minimum-scale=1,
 maximum-scale=1"
 />
 </head> step 1 - add this line inside your <head> This saves <head>aches later on!
  • 43. <body>
 
 <main class="grid-container">
 
 <section id="cont1">
 <h2>Section 1</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 <section id="cont2">
 <h2>Section 2</h2>
 <p>…</p>
 </section>
 
 <section id="cont3">
 <h2>Section 3</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 </main>
 
 </body> step 2 - content that we want inside a grid must live inside a grid container class
  • 44. <body>
 
 <main class="grid-container">
 
 <section class=“grid-33” id=“cont1”>
 <h2>Section 1</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 <section class=“grid-33” id="cont2">
 <h2>Section 2</h2>
 <p>…</p>
 </section>
 
 <section class=“grid-33” id="cont3">
 <h2>Section 3</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 </main>
 
 </body> step 3- we give our columns a class that corresponds to the % width that we want them to be
  • 45. <body>
 
 <main class="grid-container">
 
 <section class=“grid-25” id=“cont1”>
 <h2>Section 1</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 <section class=“grid-50” id="cont2">
 <h2>Section 2</h2>
 <p>…</p>
 </section>
 
 <section class=“grid-25” id="cont3">
 <h2>Section 3</h2>
 <p>Lorem ipsum…</p>
 </section>
 
 </main>
 
 </body>
  • 46. step 4- if you want a margin you need to use grid-parent and next your items …
 <section class="grid-25" id="cont1">
 <h2>Section 1</h2>
 <p>…</p>
 </section>
 
 <div id="subsection" class="grid-50 grid-parent">
 <section class="grid-90 suffix-5 prefix-5" id="cont2">
 
 <h2>Section 2</h2>
 <p>Lorem ipsum…</p>
 </section>
 </div>
 
 <section class="grid-25" id="cont3">
 <h2>Section 3</h2>
 <p>…</p>
 </section>

  • 48.
  • 49. (slightly) responsive out of the box but we can make this even better <main class="grid-container">
 
 <section class="grid-33 tablet-grid-50 mobile-grid-100" id="cont1">
 <h2>Section 1</h2>
 
 <p>…</p>
 </section>
 
 <section class="grid-33 tablet-grid-50 mobile-grid-100" id="cont2">
 
 <h2>Section 2</h2>
 
 <p>…</p>
 
 </section>
 
 <section class="grid-33 tablet-grid-100 mobile-grid-100" id="cont3">
 <h2>Section 3</h2>
 
 <p>…</p>
 </section>
 
 </main>
  • 50. (slightly) responsive out of the box but we can make this even better <section class="grid-33 tablet-grid-50 mobile-grid-100" id="cont1"> normal size size on a tablet size on a mobile
  • 52. same as before…there are lots of other things that you can do with this framework as well! Have a look at the unsemantic website for more
  • 53. recap what are frameworks types of frameworks frontend (CSS) Frameworks flex box unsemantic