SlideShare uma empresa Scribd logo
BOOTSTRAP 4
Krishan Mohan
Gaurav mall
Outline
■ Top 5 Most Popular CSS Frameworks
■ What is Bootstrap?
■ What is new in B4?
■ Sass
■ Review of REM units and demo
■ FLEXBOX
■ BS Grid History
■ BS4 Grid System
Top 5 Most Popular CSS Frameworks
What is Bootstrap 4?
■ Bootstrap is the most popular CSS framework for RAPIDWEBSITE PROTOTYPING.
■ What is the grid?
■ FLEXBOX
■ Sass architecture
■ Open source
What is new in Bootstrap 4?
■ EnhancedGRID
■ Switched from LESS to SASS
■ Cards component
■ REM instead of Pixels CSS units
■ FLEXBOX grid support
■ Re Boot - replaces normalizer
■ No more IE8!!!!!!
What is a CSS reset?
Its an additional block of CSS that will help with consistency in the default styling of
HTML elements.
■ Eric mayer’s CSS reset
■ Normalizer
■ B4 new Reboot
■ HTML5 reset
Sass
■ Sass is an extension of CSS that allows for more functional syntax. Sass always needs
to be compiled into CSS.
■ Sass is used by developers to produce more modular and easy to maintain code on the
source code.
■ The easiest way to get started with Sass is with a compiler program like Koala
■ Bootstrap 4 ships with a _custom.scss file for easy overriding of default variables.
■ For Global variables, use _variables.scss
■ Be sure to remove the !default flag from override values.
How REM units work
■ The rem unit is relative to the root—or the html—element.That means that we can define a
single font size on the html element and define all rem units to be a percentage of that.
■ html { font-size: 62.5%; }
■ body { font-size: 1.4rem; } /* =14px */
■ h1 { font-size: 2.4rem; } /* =24px */
EMs
■ 1em is equal to the current font size.The default text size in browsers is 16px. So, the
default size of 1em is 16px.
REMs
■ Equal to the computed value of font-size on the root element.When specified on the font-
size property of the root element, the rem units refer to the property's initial value.
PIXELS
■ The pixel (a word invented from "picture element") is the basic unit of programmable color
on a computer display or in a computer image
How does the FLEXBOX work?
■ FLEXBOX is a CSS3 layout mode that provides an easier way to arrange elements
within a container
■ No FLOATS
■ No margin collapse
■ Order of elements is controlled from CSS
■ Designed for screens
■ Easier to position child elements
https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Can we use FLEXBOX now?
■ YES, but be careful & use fall backs when possible.
■ 90% of Browser support FLEXBOX
■ IE has no support
■ EDGE partial support
■ Legacy mobile browsers no support or partial support
https://caniuse.com/#feat=flexbox
Basic FLEXBOX Utilities
Vertical Alignment (row)
■ align-items-start
■ align-items-center
■ align-items-end
Order of itement (col)
■ flex-unordered
■ flex-first
■ flex-last
Horizontal Alignment (row)
■ justify-content-start
■ justify-content-center
■ Justify-content-end
■ justify-content-around
■ justify-content-between
The BS Grid History
■ Looking back at Bootstrap 3, the 4 grid tiers (‘xs’, ’sm’, ‘md’ and ‘lg’ breakpoints) .
■ The smallest breakpoint has a wide range of devices less than 768px in width.
Bootstrap 4 Grid
■ Introducing the new XL grid tier
There are 5 tiers (or breakpoints) to support typical portrait and landscape screen
widths.
■ New grid breakpoint with the col-xl-*classes
■ Breakpoints:
The XL breakpoint is screen widths>1200px
■ The LG breakpoint is screen widths>992px
■ The MD breakpoint is screen widths>768px
■ The SM breakpoint is screen widths>544px
■ The XS breakpoint is screen widths<544px
CSS Layout -The position Property
The position property specifies the type of positioning method used for an element.
■ There are five different position values:
■ static
■ relative
■ fixed
■ absolute
■ Sticky- Note: IE/Edge 15 and earlier versions do not support sticky position.
The CSS Box Model
■ Content -The content of the box, where text and images appear
■ Padding - Clears an area around the content.The padding is transparent
■ Border - A border that goes around the padding and content
■ Margin - Clears an area outside the border.The margin is transparent
CSSVariables
■ Variables in CSS should be declared within a CSS selector that defines its scope. For a
global scope you can use either the :root or the body selector.
■ The syntax of the var() function is as follows: var(custom-name, value)
Example:
■ https://codepen.io/krishan101090/pen/YvxzWP?editors=1100
CSS ANIMATION - KEYFRAMES
■ The @keyframes rule specifies the animation code.
■ During the animation, you can change the set of CSS styles many times.
■ Specify when the style change will happen in percent, or with the keywords "from" and
"to", which is the same as 0% and 100%. 0% is the beginning of the animation, 100% is
when the animation is complete.
■ https://codepen.io/krishan101090/pen/jKLOPG
Question And Answes

Mais conteúdo relacionado

Semelhante a Krishan gaurav-sapient bootstrapsession

Slides bootstrap-4
Slides bootstrap-4Slides bootstrap-4
Slides bootstrap-4
Michael Posso
 
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...
Skilld
 
Web development basics (Part-2)
Web development basics (Part-2)Web development basics (Part-2)
Web development basics (Part-2)
Rajat Pratap Singh
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
Peter Kaizer
 
Ppt ch06
Ppt ch06Ppt ch06
Ppt ch06
niruttisai
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
Richa Goel
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)
Chris Mills
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
Karthikeyan Dhanasekaran CUA
 
Web Design Norms
Web Design NormsWeb Design Norms
Web Design Norms
Shantanu Suryawanshi
 
04 CSS #burningkeyboards
04 CSS #burningkeyboards04 CSS #burningkeyboards
04 CSS #burningkeyboards
Denis Ristic
 
Responsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needsResponsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needs
SEGIC
 
UNIT 3.ppt
UNIT 3.pptUNIT 3.ppt
UNIT 3.ppt
kavi806657
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
Mike Wilcox
 
Fewd week3 slides
Fewd week3 slidesFewd week3 slides
Fewd week3 slides
William Myers
 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)
Thinkful
 
Web technologies-course 04.pptx
Web technologies-course 04.pptxWeb technologies-course 04.pptx
Web technologies-course 04.pptx
Stefan Oprea
 
Web technology
Web technologyWeb technology
Web technology
Avinash Saharan
 
Bootstrap [part 1]
Bootstrap [part 1]Bootstrap [part 1]
Bootstrap [part 1]
Ghanshyam Patel
 
Bootstrap 5 ppt
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 ppt
Mallikarjuna G D
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
Nathan Smith
 

Semelhante a Krishan gaurav-sapient bootstrapsession (20)

Slides bootstrap-4
Slides bootstrap-4Slides bootstrap-4
Slides bootstrap-4
 
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...
Build tons of multi-device JavaScript applications - Part 2 : (black) Magic S...
 
Web development basics (Part-2)
Web development basics (Part-2)Web development basics (Part-2)
Web development basics (Part-2)
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 
Ppt ch06
Ppt ch06Ppt ch06
Ppt ch06
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)The web standards gentleman: a matter of (evolving) standards)
The web standards gentleman: a matter of (evolving) standards)
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 
Web Design Norms
Web Design NormsWeb Design Norms
Web Design Norms
 
04 CSS #burningkeyboards
04 CSS #burningkeyboards04 CSS #burningkeyboards
04 CSS #burningkeyboards
 
Responsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needsResponsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needs
 
UNIT 3.ppt
UNIT 3.pptUNIT 3.ppt
UNIT 3.ppt
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
Fewd week3 slides
Fewd week3 slidesFewd week3 slides
Fewd week3 slides
 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)
 
Web technologies-course 04.pptx
Web technologies-course 04.pptxWeb technologies-course 04.pptx
Web technologies-course 04.pptx
 
Web technology
Web technologyWeb technology
Web technology
 
Bootstrap [part 1]
Bootstrap [part 1]Bootstrap [part 1]
Bootstrap [part 1]
 
Bootstrap 5 ppt
Bootstrap 5 pptBootstrap 5 ppt
Bootstrap 5 ppt
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
 

Último

Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
Rakesh Kumar R
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
Top 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptxTop 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptx
devvsandy
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 

Último (20)

Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
Top 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptxTop 9 Trends in Cybersecurity for 2024.pptx
Top 9 Trends in Cybersecurity for 2024.pptx
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 

Krishan gaurav-sapient bootstrapsession

  • 2. Outline ■ Top 5 Most Popular CSS Frameworks ■ What is Bootstrap? ■ What is new in B4? ■ Sass ■ Review of REM units and demo ■ FLEXBOX ■ BS Grid History ■ BS4 Grid System
  • 3. Top 5 Most Popular CSS Frameworks
  • 4.
  • 5. What is Bootstrap 4? ■ Bootstrap is the most popular CSS framework for RAPIDWEBSITE PROTOTYPING. ■ What is the grid? ■ FLEXBOX ■ Sass architecture ■ Open source
  • 6. What is new in Bootstrap 4? ■ EnhancedGRID ■ Switched from LESS to SASS ■ Cards component ■ REM instead of Pixels CSS units ■ FLEXBOX grid support ■ Re Boot - replaces normalizer ■ No more IE8!!!!!!
  • 7. What is a CSS reset? Its an additional block of CSS that will help with consistency in the default styling of HTML elements. ■ Eric mayer’s CSS reset ■ Normalizer ■ B4 new Reboot ■ HTML5 reset
  • 8. Sass ■ Sass is an extension of CSS that allows for more functional syntax. Sass always needs to be compiled into CSS. ■ Sass is used by developers to produce more modular and easy to maintain code on the source code. ■ The easiest way to get started with Sass is with a compiler program like Koala
  • 9. ■ Bootstrap 4 ships with a _custom.scss file for easy overriding of default variables. ■ For Global variables, use _variables.scss ■ Be sure to remove the !default flag from override values.
  • 10. How REM units work ■ The rem unit is relative to the root—or the html—element.That means that we can define a single font size on the html element and define all rem units to be a percentage of that. ■ html { font-size: 62.5%; } ■ body { font-size: 1.4rem; } /* =14px */ ■ h1 { font-size: 2.4rem; } /* =24px */ EMs ■ 1em is equal to the current font size.The default text size in browsers is 16px. So, the default size of 1em is 16px. REMs ■ Equal to the computed value of font-size on the root element.When specified on the font- size property of the root element, the rem units refer to the property's initial value. PIXELS ■ The pixel (a word invented from "picture element") is the basic unit of programmable color on a computer display or in a computer image
  • 11. How does the FLEXBOX work? ■ FLEXBOX is a CSS3 layout mode that provides an easier way to arrange elements within a container ■ No FLOATS ■ No margin collapse ■ Order of elements is controlled from CSS ■ Designed for screens ■ Easier to position child elements https://css-tricks.com/snippets/css/a-guide-to-flexbox/
  • 12. Can we use FLEXBOX now? ■ YES, but be careful & use fall backs when possible. ■ 90% of Browser support FLEXBOX ■ IE has no support ■ EDGE partial support ■ Legacy mobile browsers no support or partial support https://caniuse.com/#feat=flexbox
  • 13. Basic FLEXBOX Utilities Vertical Alignment (row) ■ align-items-start ■ align-items-center ■ align-items-end Order of itement (col) ■ flex-unordered ■ flex-first ■ flex-last Horizontal Alignment (row) ■ justify-content-start ■ justify-content-center ■ Justify-content-end ■ justify-content-around ■ justify-content-between
  • 14. The BS Grid History ■ Looking back at Bootstrap 3, the 4 grid tiers (‘xs’, ’sm’, ‘md’ and ‘lg’ breakpoints) . ■ The smallest breakpoint has a wide range of devices less than 768px in width.
  • 15. Bootstrap 4 Grid ■ Introducing the new XL grid tier There are 5 tiers (or breakpoints) to support typical portrait and landscape screen widths. ■ New grid breakpoint with the col-xl-*classes ■ Breakpoints: The XL breakpoint is screen widths>1200px ■ The LG breakpoint is screen widths>992px ■ The MD breakpoint is screen widths>768px ■ The SM breakpoint is screen widths>544px ■ The XS breakpoint is screen widths<544px
  • 16. CSS Layout -The position Property The position property specifies the type of positioning method used for an element. ■ There are five different position values: ■ static ■ relative ■ fixed ■ absolute ■ Sticky- Note: IE/Edge 15 and earlier versions do not support sticky position.
  • 17. The CSS Box Model ■ Content -The content of the box, where text and images appear ■ Padding - Clears an area around the content.The padding is transparent ■ Border - A border that goes around the padding and content ■ Margin - Clears an area outside the border.The margin is transparent
  • 18. CSSVariables ■ Variables in CSS should be declared within a CSS selector that defines its scope. For a global scope you can use either the :root or the body selector. ■ The syntax of the var() function is as follows: var(custom-name, value) Example: ■ https://codepen.io/krishan101090/pen/YvxzWP?editors=1100
  • 19. CSS ANIMATION - KEYFRAMES ■ The @keyframes rule specifies the animation code. ■ During the animation, you can change the set of CSS styles many times. ■ Specify when the style change will happen in percent, or with the keywords "from" and "to", which is the same as 0% and 100%. 0% is the beginning of the animation, 100% is when the animation is complete. ■ https://codepen.io/krishan101090/pen/jKLOPG