SlideShare une entreprise Scribd logo
1  sur  11
Topics
● Basic CSS
– CSS Introduction
– Menu Types
– Common Menu Styling
– CSS Menu Information
– EXAMPLE !
– Quick Tips
– Ordering Elements
● Advanced CSS (CSS 3)
– CSS3 Information
– New Popular Features
CSS
● Cascading Style Sheets
● CSS defines HOW HTML elements are to be
displayed.
● Ways to insert CSS:
– External Style Sheet
– Internal Style Sheet
– Inline Style
Menu Types
● Menu's can be made in several ways. You can
use:
– Tables
– Separate Images
– Image maps
– Lists (Ordered / Unordered)
Menu (continued)
● The most common way to make a menu now
days is using a list.
● The benefit of using lists is you can do almost
anything to a them
● There are so many different ways you can
manipulate a list. Here are just a few:
– Background-color , Color
– Margin , Padding
– Line-height
– Font etc.
CSS INFO
● Lists are also the most Cross-Browser
Compatible ways to make a menu.
● It has been the Default way to make menus
since HTML3 was default.
● Example:
HTML / CSS
<div id="menu">
<ul>
<li><a href=”#”>Home</a></li>
<li><a href=”#”>About</a></li>
<li><a href=”#”>Showcase</a></li>
<li><a href=”#”>Links</a></li>
<li><a href=”#”>Contact</a></li>
</ul>
</div>
#menu { background-color: #333; }
#menu ul { padding: 0; margin: 0; }
#menu ul li {
line-height: 35px;
display: inline;
list-style: none;
}
#menu ul li a {
text-decoration:none;
color:#000;
}
#menu ul li a:hover { color: #00FF66; }
CSS EXAMPLE
#menu{background-color: #333;}
#menu ul{padding: 0px; margin: 0px;}
#menu ul li{line-height: 35px; display: inline; list-style: none;}
#menu ul li a{text-decoration: none; color: #000;}
#menu ul li a:hover{color: #00FF66;}
CCSS Quick Tips
● Commenting / Documenting
– Its simple
– Fast
– Saves time
– Helps others that view your code
● Ordering Style Names
– Get into one habit and stick to it! Don't have one
group alphabetical and the next completely
different.
– Keep it consistent!
ORDERING ELEMENTS
● The majority of people think that its best to order your elements
in the order that your HTML is structured.
● Example:
● Header, title, menu, sidebar, content,links paragraphs
headings, footer.
● WRONG!
● The correct way is: Documentation (author), IMPORTAINT
Reset, then more important things like: header, menu, footer,
sidebar, then in the bottom is headings,links, paragraphs,
images then anything else.
ADVANCED CSS(3)
● CSS3 is the NEW standard for website design.
It has the most advanced options for styling
your code (html elements)
● There are 25 NEW exiting new CSS functions
● The Majority of them still aren't Compattable in
browsers so they have “Browser Hacks” for a
few of them
● Here are the Most Popular
Popular CSS3 Selectors
Borders
● Border-image
● Border-radius
● Box-shadow
Backgrounds
● Background-origin and background-clip
● Background-size
● Multiple backgrounds
Color
● HSL colors
● HSLA colors
● Opacity
● RGBA colors
User-interface
● Box-sizing
● Nav-top, nav-right, nav-bottom, nav-left

Contenu connexe

Similaire à Css Website Design

Cascading Style Sheets(CSS).pptx by kj frm changa
Cascading Style Sheets(CSS).pptx by kj frm changaCascading Style Sheets(CSS).pptx by kj frm changa
Cascading Style Sheets(CSS).pptx by kj frm changaKrupal8
 
howcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptxhowcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptxRavneetSingh343801
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation Salman Memon
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter BootstrapAhmed Haque
 
Web programming css
Web programming cssWeb programming css
Web programming cssUma mohan
 
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...Patrick Lauke
 
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 3Binu Paul
 
Web Design for Literary Theorists II: Overview of CSS (v 1.0)
Web Design for Literary Theorists II: Overview of CSS (v 1.0)Web Design for Literary Theorists II: Overview of CSS (v 1.0)
Web Design for Literary Theorists II: Overview of CSS (v 1.0)Patrick Mooney
 
GTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersGTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersTOPS Technologies
 
BITM3730 9-26.pptx
BITM3730 9-26.pptxBITM3730 9-26.pptx
BITM3730 9-26.pptxMattMarino13
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfelayelily
 
CSS pro design systémy
CSS pro design systémyCSS pro design systémy
CSS pro design systémyAdam Kudrna
 

Similaire à Css Website Design (20)

Week11 Lecture: CSS
Week11 Lecture: CSSWeek11 Lecture: CSS
Week11 Lecture: CSS
 
Cascading Style Sheets(CSS).pptx by kj frm changa
Cascading Style Sheets(CSS).pptx by kj frm changaCascading Style Sheets(CSS).pptx by kj frm changa
Cascading Style Sheets(CSS).pptx by kj frm changa
 
howcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptxhowcssworks-100207024009-phpapp01.pptx
howcssworks-100207024009-phpapp01.pptx
 
Table tags 2
Table tags 2Table tags 2
Table tags 2
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
CSS
CSSCSS
CSS
 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
 
Web programming css
Web programming cssWeb programming css
Web programming css
 
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
 
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
 
Html.ppt
Html.pptHtml.ppt
Html.ppt
 
Web Design for Literary Theorists II: Overview of CSS (v 1.0)
Web Design for Literary Theorists II: Overview of CSS (v 1.0)Web Design for Literary Theorists II: Overview of CSS (v 1.0)
Web Design for Literary Theorists II: Overview of CSS (v 1.0)
 
CSS Bootstrap.pdf
CSS  Bootstrap.pdfCSS  Bootstrap.pdf
CSS Bootstrap.pdf
 
css-tutorial
css-tutorialcss-tutorial
css-tutorial
 
css-tutorial
css-tutorialcss-tutorial
css-tutorial
 
GTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersGTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshers
 
BITM3730 9-26.pptx
BITM3730 9-26.pptxBITM3730 9-26.pptx
BITM3730 9-26.pptx
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
 
CSS
CSSCSS
CSS
 
CSS pro design systémy
CSS pro design systémyCSS pro design systémy
CSS pro design systémy
 

Css Website Design

  • 1. Topics ● Basic CSS – CSS Introduction – Menu Types – Common Menu Styling – CSS Menu Information – EXAMPLE ! – Quick Tips – Ordering Elements ● Advanced CSS (CSS 3) – CSS3 Information – New Popular Features
  • 2. CSS ● Cascading Style Sheets ● CSS defines HOW HTML elements are to be displayed. ● Ways to insert CSS: – External Style Sheet – Internal Style Sheet – Inline Style
  • 3. Menu Types ● Menu's can be made in several ways. You can use: – Tables – Separate Images – Image maps – Lists (Ordered / Unordered)
  • 4. Menu (continued) ● The most common way to make a menu now days is using a list. ● The benefit of using lists is you can do almost anything to a them ● There are so many different ways you can manipulate a list. Here are just a few: – Background-color , Color – Margin , Padding – Line-height – Font etc.
  • 5. CSS INFO ● Lists are also the most Cross-Browser Compatible ways to make a menu. ● It has been the Default way to make menus since HTML3 was default. ● Example:
  • 6. HTML / CSS <div id="menu"> <ul> <li><a href=”#”>Home</a></li> <li><a href=”#”>About</a></li> <li><a href=”#”>Showcase</a></li> <li><a href=”#”>Links</a></li> <li><a href=”#”>Contact</a></li> </ul> </div> #menu { background-color: #333; } #menu ul { padding: 0; margin: 0; } #menu ul li { line-height: 35px; display: inline; list-style: none; } #menu ul li a { text-decoration:none; color:#000; } #menu ul li a:hover { color: #00FF66; }
  • 7. CSS EXAMPLE #menu{background-color: #333;} #menu ul{padding: 0px; margin: 0px;} #menu ul li{line-height: 35px; display: inline; list-style: none;} #menu ul li a{text-decoration: none; color: #000;} #menu ul li a:hover{color: #00FF66;}
  • 8. CCSS Quick Tips ● Commenting / Documenting – Its simple – Fast – Saves time – Helps others that view your code ● Ordering Style Names – Get into one habit and stick to it! Don't have one group alphabetical and the next completely different. – Keep it consistent!
  • 9. ORDERING ELEMENTS ● The majority of people think that its best to order your elements in the order that your HTML is structured. ● Example: ● Header, title, menu, sidebar, content,links paragraphs headings, footer. ● WRONG! ● The correct way is: Documentation (author), IMPORTAINT Reset, then more important things like: header, menu, footer, sidebar, then in the bottom is headings,links, paragraphs, images then anything else.
  • 10. ADVANCED CSS(3) ● CSS3 is the NEW standard for website design. It has the most advanced options for styling your code (html elements) ● There are 25 NEW exiting new CSS functions ● The Majority of them still aren't Compattable in browsers so they have “Browser Hacks” for a few of them ● Here are the Most Popular
  • 11. Popular CSS3 Selectors Borders ● Border-image ● Border-radius ● Box-shadow Backgrounds ● Background-origin and background-clip ● Background-size ● Multiple backgrounds Color ● HSL colors ● HSLA colors ● Opacity ● RGBA colors User-interface ● Box-sizing ● Nav-top, nav-right, nav-bottom, nav-left