SlideShare a Scribd company logo
Chippy Merin Mathew
Akash Krishna T
IMROKRAFT
crafting the future
Cascading Style Sheet 3
Cascading Style Sheet
Introduction
 CSS is a stylesheet language that describes the presentation of an HTML (or XML) document.
 It describes how elements must be viewed on screen or in other media.
 CSS stands for Cascading Style Sheet.
 External Sheets are stored in CSS files.
 Basically CSS marks a key factor in creating a webpage.
+ =
HTML CSS Web Page
CSS Syntax
 A CSS rule has two parts: a selector and one or more declarations:
 Selector is normally the HTML element you want to style
 Declaration consists of a property and a value .
 Property is the style attribute you want to change. Each property has a value .
Sources of Styles
 Inline Styles- As inline attribute “style ” inside HTML tags.
<div style=“font-weight: bold;”> I am bold </div>
 Embedded Styles- As Embedded style tag within HTML document.
<html>
<head>
<title> Welcome to CSS </title>
<style>
.footer{
width:90%;
}
</style>
</head>
</html>
Linked Styles – Inside separate files with .css extention.
<link rel= “stylesheet” href=“external.css” type=“text/css”/>
CSS3
Introduction
• CSS3 is the latest standard for CSS.
• CSS3 is completely backwards-compatible with earlier versions of CSS.
• CSS3 has been divided into “modules “ which helps the user to have animations and other features.
• It comes by the Collaboration of CSS2 thus marked the collaboration as modules.
CSS3 Modules
 CSS3 is collaboration of CSS2 specifications and new specifications, we can called this collaboration is
module. Some of the modules are shown below
• Selectors
• Box Model
• Backgrounds
• Image Values and Replaced Content
• Text Effects
• 2D Transformations
• 3D Transformations
• Animations
• Multiple Column Layout
• User Interface
Some of the Important Properties of CSS3
Border-Radius
• Probably the property with the highest level of awareness and maybe the synonym for CSS3 for
some.
• It allows you to round the corners of every HTML element that has a border or background set.
• It's not only possible to round the corners with quarter circles but also with quarter ellipses.
border-radius: 8px
• The radius of the quarter circles that form the corners is equally set for all four edges
Border-Image
• Presumably the CSS3 property that is most difficult to understand.
• It can be used to replace the standard CSS border with an image based on a single file.
• The border property must be set to work. It can be used in two ways.
border-image: url(image.png) 1 round stretch
• The intended usage of border-image is to provide an image file that represents the four corners and four sides of the
border as well as background of the element.
• stretch means that the left and right sides of the border are stretched to the hole height while round
presumes the original dimensions and just fits the image into the border for the top and bottom sides.
Background (multiple background images)
• Earlier it was only possible to set a single image file for the background of an element.
• With CSS3 you can specify multiple background images for rich graphical effects. They can also be mixed
with gradients.
background: url(image1.png), url(image2.png), url(image3.png) #000
• Here we have one background image aligned to the top right corner, a red to blue gradient running from
top to bottom and a second image that starts at the bottom left corner
Transition
• Transitions ensure that websites get a bit more dynamic. Instead of a value’s normal behavior to
change immediately it is faded smoothly. Many available CSS properties can be transitioned.
transition: background-color 1s
• In this case the background-color of the element is transitioned over a period of 1 second. If there is no
property set the transition defaults to all, that is, that all of the properties of the element are
transition: width 3s, opacity 2s 3s ease-in
• Transitions for different properties can also be combined within a single notation. In this case the
width is animated over a period of 3 seconds, though the opacity lasts 2 seconds, only starts after 3 seconds
and has ease-in set as the timing-function resulting in a smooth acceleration.
Box-Shadow
• Is used to attach a shadow to an element. Multiple ones can be
assigned comma separated.
box-shadow: 8px 10px 5px #646464
• The first value represents the horizontal offset of the shadow. Positive
values draw the shadow to the right, negative to the left.
• The second value sets the vertical offset where positive values draw
the shadow above the box and negative values below the box.
• The last value is responsible for the blur radius. The greater this
number the lighter and bigger the shadow gets.
• If not set the shadow has sharp edges. The color is set to #646464.
box-shadow: 5px 5px 8px 10px #646464 inset
Conclusion
We’ve covered a lot of wonderful ways to use CSS3 right now in your daily work. My hope
is that by demonstrating how these techniques can enhance the experience layer in
browsers that support them, while gracefully degrading in browsers that don’t, you’ll be
inspired to use them every day, regardless of the project you’re working on.
CSS3 basics for beginners - Imrokraft

More Related Content

Similar to CSS3 basics for beginners - Imrokraft

Website trends 2012 presentation
Website trends 2012 presentationWebsite trends 2012 presentation
Website trends 2012 presentationFresh_Egg
 
MTA managing the graphical interface by using css
MTA managing the graphical interface by using cssMTA managing the graphical interface by using css
MTA managing the graphical interface by using css
Dhairya Joshi
 
Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3
Binu Paul
 
Css3
Css3Css3
Css3
Css3Css3
CSS Introduction
CSS Introduction CSS Introduction
CSS Introduction
Thapar Institute
 
Grid system introduction
Grid system introductionGrid system introduction
Grid system introduction
ananda gunadharma
 
CascadingStyleSheets in ONESHOT By DeathCodeYT .pdf
CascadingStyleSheets  in ONESHOT By DeathCodeYT .pdfCascadingStyleSheets  in ONESHOT By DeathCodeYT .pdf
CascadingStyleSheets in ONESHOT By DeathCodeYT .pdf
balbirnainnain496
 
Trendsetting: Web Design and Beyond
Trendsetting: Web Design and BeyondTrendsetting: Web Design and Beyond
Trendsetting: Web Design and Beyond
Andy Stratton
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
Yandex
 
CSS Methodology
CSS MethodologyCSS Methodology
CSS MethodologyZohar Arad
 
slides-students-C04.pdf
slides-students-C04.pdfslides-students-C04.pdf
slides-students-C04.pdf
MonkeyDLuffy708724
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
Singsys Pte Ltd
 
Css3
Css3Css3

Similar to CSS3 basics for beginners - Imrokraft (20)

Website trends 2012 presentation
Website trends 2012 presentationWebsite trends 2012 presentation
Website trends 2012 presentation
 
MTA managing the graphical interface by using css
MTA managing the graphical interface by using cssMTA managing the graphical interface by using css
MTA managing the graphical interface by using css
 
Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3Cordova training - Day 2 Introduction to CSS 3
Cordova training - Day 2 Introduction to CSS 3
 
Css 3 session1
Css 3 session1Css 3 session1
Css 3 session1
 
Css3
Css3Css3
Css3
 
Css3
Css3Css3
Css3
 
CSS Introduction
CSS Introduction CSS Introduction
CSS Introduction
 
Grid system introduction
Grid system introductionGrid system introduction
Grid system introduction
 
CascadingStyleSheets in ONESHOT By DeathCodeYT .pdf
CascadingStyleSheets  in ONESHOT By DeathCodeYT .pdfCascadingStyleSheets  in ONESHOT By DeathCodeYT .pdf
CascadingStyleSheets in ONESHOT By DeathCodeYT .pdf
 
Css
CssCss
Css
 
Trendsetting: Web Design and Beyond
Trendsetting: Web Design and BeyondTrendsetting: Web Design and Beyond
Trendsetting: Web Design and Beyond
 
Css
CssCss
Css
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
 
CSS and CSS3
CSS and CSS3CSS and CSS3
CSS and CSS3
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
 
CSS Methodology
CSS MethodologyCSS Methodology
CSS Methodology
 
slides-students-C04.pdf
slides-students-C04.pdfslides-students-C04.pdf
slides-students-C04.pdf
 
Css3
Css3Css3
Css3
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
Css3
Css3Css3
Css3
 

More from imrokraft

Php intership in trivandrum - IMROKRAFT Solutions
Php intership in trivandrum - IMROKRAFT SolutionsPhp intership in trivandrum - IMROKRAFT Solutions
Php intership in trivandrum - IMROKRAFT Solutions
imrokraft
 
Understanding Javascript AJAX - Imrokraft
Understanding Javascript AJAX - ImrokraftUnderstanding Javascript AJAX - Imrokraft
Understanding Javascript AJAX - Imrokraft
imrokraft
 
Android training in technopark - Imrokraft
Android training in technopark - ImrokraftAndroid training in technopark - Imrokraft
Android training in technopark - Imrokraft
imrokraft
 
CSS3 Animation for beginners - Imrokraft
CSS3 Animation for beginners - ImrokraftCSS3 Animation for beginners - Imrokraft
CSS3 Animation for beginners - Imrokraft
imrokraft
 
HTML5 tutorials for beginners - Imrokraft
HTML5 tutorials for beginners - ImrokraftHTML5 tutorials for beginners - Imrokraft
HTML5 tutorials for beginners - Imrokraft
imrokraft
 
Understanding JSON using Java - Imrokraft
Understanding JSON using Java - ImrokraftUnderstanding JSON using Java - Imrokraft
Understanding JSON using Java - Imrokraft
imrokraft
 

More from imrokraft (6)

Php intership in trivandrum - IMROKRAFT Solutions
Php intership in trivandrum - IMROKRAFT SolutionsPhp intership in trivandrum - IMROKRAFT Solutions
Php intership in trivandrum - IMROKRAFT Solutions
 
Understanding Javascript AJAX - Imrokraft
Understanding Javascript AJAX - ImrokraftUnderstanding Javascript AJAX - Imrokraft
Understanding Javascript AJAX - Imrokraft
 
Android training in technopark - Imrokraft
Android training in technopark - ImrokraftAndroid training in technopark - Imrokraft
Android training in technopark - Imrokraft
 
CSS3 Animation for beginners - Imrokraft
CSS3 Animation for beginners - ImrokraftCSS3 Animation for beginners - Imrokraft
CSS3 Animation for beginners - Imrokraft
 
HTML5 tutorials for beginners - Imrokraft
HTML5 tutorials for beginners - ImrokraftHTML5 tutorials for beginners - Imrokraft
HTML5 tutorials for beginners - Imrokraft
 
Understanding JSON using Java - Imrokraft
Understanding JSON using Java - ImrokraftUnderstanding JSON using Java - Imrokraft
Understanding JSON using Java - Imrokraft
 

Recently uploaded

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 

CSS3 basics for beginners - Imrokraft

  • 1. Chippy Merin Mathew Akash Krishna T IMROKRAFT crafting the future Cascading Style Sheet 3
  • 3. Introduction  CSS is a stylesheet language that describes the presentation of an HTML (or XML) document.  It describes how elements must be viewed on screen or in other media.  CSS stands for Cascading Style Sheet.  External Sheets are stored in CSS files.  Basically CSS marks a key factor in creating a webpage. + = HTML CSS Web Page
  • 4. CSS Syntax  A CSS rule has two parts: a selector and one or more declarations:  Selector is normally the HTML element you want to style  Declaration consists of a property and a value .  Property is the style attribute you want to change. Each property has a value .
  • 5. Sources of Styles  Inline Styles- As inline attribute “style ” inside HTML tags. <div style=“font-weight: bold;”> I am bold </div>  Embedded Styles- As Embedded style tag within HTML document. <html> <head> <title> Welcome to CSS </title> <style> .footer{ width:90%; } </style> </head> </html> Linked Styles – Inside separate files with .css extention. <link rel= “stylesheet” href=“external.css” type=“text/css”/>
  • 6. CSS3 Introduction • CSS3 is the latest standard for CSS. • CSS3 is completely backwards-compatible with earlier versions of CSS. • CSS3 has been divided into “modules “ which helps the user to have animations and other features. • It comes by the Collaboration of CSS2 thus marked the collaboration as modules.
  • 7. CSS3 Modules  CSS3 is collaboration of CSS2 specifications and new specifications, we can called this collaboration is module. Some of the modules are shown below • Selectors • Box Model • Backgrounds • Image Values and Replaced Content • Text Effects • 2D Transformations • 3D Transformations • Animations • Multiple Column Layout • User Interface
  • 8. Some of the Important Properties of CSS3 Border-Radius • Probably the property with the highest level of awareness and maybe the synonym for CSS3 for some. • It allows you to round the corners of every HTML element that has a border or background set. • It's not only possible to round the corners with quarter circles but also with quarter ellipses. border-radius: 8px • The radius of the quarter circles that form the corners is equally set for all four edges
  • 9. Border-Image • Presumably the CSS3 property that is most difficult to understand. • It can be used to replace the standard CSS border with an image based on a single file. • The border property must be set to work. It can be used in two ways. border-image: url(image.png) 1 round stretch • The intended usage of border-image is to provide an image file that represents the four corners and four sides of the border as well as background of the element. • stretch means that the left and right sides of the border are stretched to the hole height while round presumes the original dimensions and just fits the image into the border for the top and bottom sides.
  • 10. Background (multiple background images) • Earlier it was only possible to set a single image file for the background of an element. • With CSS3 you can specify multiple background images for rich graphical effects. They can also be mixed with gradients. background: url(image1.png), url(image2.png), url(image3.png) #000 • Here we have one background image aligned to the top right corner, a red to blue gradient running from top to bottom and a second image that starts at the bottom left corner
  • 11. Transition • Transitions ensure that websites get a bit more dynamic. Instead of a value’s normal behavior to change immediately it is faded smoothly. Many available CSS properties can be transitioned. transition: background-color 1s • In this case the background-color of the element is transitioned over a period of 1 second. If there is no property set the transition defaults to all, that is, that all of the properties of the element are transition: width 3s, opacity 2s 3s ease-in • Transitions for different properties can also be combined within a single notation. In this case the width is animated over a period of 3 seconds, though the opacity lasts 2 seconds, only starts after 3 seconds and has ease-in set as the timing-function resulting in a smooth acceleration.
  • 12. Box-Shadow • Is used to attach a shadow to an element. Multiple ones can be assigned comma separated. box-shadow: 8px 10px 5px #646464 • The first value represents the horizontal offset of the shadow. Positive values draw the shadow to the right, negative to the left. • The second value sets the vertical offset where positive values draw the shadow above the box and negative values below the box. • The last value is responsible for the blur radius. The greater this number the lighter and bigger the shadow gets. • If not set the shadow has sharp edges. The color is set to #646464. box-shadow: 5px 5px 8px 10px #646464 inset
  • 13. Conclusion We’ve covered a lot of wonderful ways to use CSS3 right now in your daily work. My hope is that by demonstrating how these techniques can enhance the experience layer in browsers that support them, while gracefully degrading in browsers that don’t, you’ll be inspired to use them every day, regardless of the project you’re working on.