SlideShare a Scribd company logo
1 of 28
4 1 1 3 L I N E S O F S T Y L I N G G O O D N E S S
AT&T Web Storefront CSS
C L E A N S L A T E
CSS Reset
CSS Reset
 http://meyerweb.com/eric/tools/css/reset/
 The goal of a reset stylesheet is to reduce browser inconsistencies in things
like default line heights, margins and font sizes of headings, and so on
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td
{
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
M A K E I T G O W H E R E I T N E E D S T O G O
CSS Layout
Grid Layout
Fixed width
grid-based layout
At 900 pixels wide
Grid Layout
Class Width
.Col-1 120
.Col-2 276
.Col-3 432
.Col-4 588
.Col-5 744
.Col-6 900
.Col-4
.Col-2
Layout Utility Comparison
.Col-1, .Col-2, .Col-3, .Col-
4, .Col-5
 Has right margin for
column gutter
.Col-1L, .Col-2L, .Col-3L,
.Col-4L, .Col-5L, .Col-6
 No right margin
Class Margin-
bottom
.Row-H 6
.Row-1 12
.Row-2 24
.Row-3 36
.Row-4 48
.Row-5 60
Grid Layout
Row-3
Normal classes
Padding used instead for
IE margin collapsing issue
Internet Explore layout considerations
Class Margin-
bottom
.Row-H 6
.Row-1 12
.Row-2 24
.Row-3 36
.Row-4 48
.Row-5 60
Class padding-
bottom
.Row-PH 6
.Row-P1 12
.Row-P2 24
.Row-P3 36
.Row-P4 48
.Row-P5 60
Similar Layout Utility Classes
 .Row-TX classes (“top”) are the similar except that the
margin is applied to the top
(i.e. .Row-T1 has margin-top:12px)
 .R-X classes (“right”) have a right margin
(i.e. .R-1 has margin-right:12px)
 .L-X classes (“left”) have a left margin
(i.e. .L-1 has margin-left:12px)
 .Border-B, .Border-L, .Border-T, .Border-B similarly apply
a border around the element’s respective edges
A L O O K A T T H E C S S “ Z - I N D E X ” P R O P E R T Y
Stacking Order
Stacking order z-index
 Ensures proper layering so
that items like menus,
popups, modal windows,
appear above the content
they are supposed to
Stacking order z-index
Class z-index
.jScrollPaneContainer 1
.jScrollArrowUp 1
.jScrollArrowDown 1
.DropdownControl 3
.GlobalNavigation 4
.SubNavigation 70
.GlobalNavigation .Button 80
#overlay 90
.Popup 100
•Items with a higher z-index will appear above items with a lower z-index
Internet Explorer z-index
 IE7 renders the stacking order incorrectly
 It reorders the z-index if it’s inside of a “positioned” element
 http://brenelz.com/blog/squish-the-internet-explorer-z-
index-bug/
F L O A T I N G G R A P H I C M E T H O D F O R D Y N A M I C
C O N T E N T
Sliding Doors
Sliding Doors (cont.)
Wrapping dynamic content
http://www.alistapart.com/articles/slidingdoors/More Info
Sliding Doors
 Creates flexible interface
components
 We need to expand the background
images to compensate for that
growth. We need to expand the
background images to compensate
for that growth.
 SlidingDoors should have a
 Wide background image that is
positioned to the right;
 Overlapping element that has a narrow
background image that is positioned to
the left and sits on top of the
SlidingDoors background image.
Sliding Doors
CSS
.Button class aligned to the right
.Inside class “floating” to the left
Markup
<span class="Button">
<span class="Inside“>
Button Text Here
</span>
</span>
I T ’ S P R O B A B L Y G O I N G T O M A K E Y O U C R Y
Onion Skinning
CSS3 enhancement
 Rounded Corners
 Drop Shadow
 Compliant Browsers
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-webkit-box-shadow: 0px 0px 18px #555;
-moz-box-shadow: 0px 0px 18px #555;
Onion Skinning
 To achieve this effect in
Internet Explorer we
need to use an image
with the desired effect
applied in a image
creation program like
Photoshop or Gimp.
Rounded rectangle with drop shadow graphic
Our friend Internet Explorer
Square Peg, Round Hole
<div class="Popup shadow-one PopMinIE" id="appPopup">
<div class="corner-a"></div>
<div class="corner-b"></div>
<div class="shadow-two">
<div class="shadow-three">
<div class="shadow-four">
Content Here
<div class="ClearFix"></div>
</div>
</div>
</div>
</div>
Onion Skinning
 http://www.alistapart.com/articles/onionskin/
 Multiple layers needed
 Each layer reveals part of
the graphic
Onion Skinning
 Allows for dynamic content that
the edges “shrink wrap” to, but it
does create a lot of additional
markup
(Not to scale)
O P T I M I Z I N G C O M M O N G R A P H I C S
Sprites
Sprites
Sliding doors spriteArrows sprite
Sprites
 Reduces HTTP Requests for many individual images
 Greatly improves performance
 http://www.alistapart.com/articles/sprites
Sprites
“next” button has background-position: -10px -152px
“previous” button has background-position:-10px -212px;
Set dimension
window
Arrow Sprite

More Related Content

Viewers also liked

Материалы выступления Т. Юрасовой
Материалы выступления Т. ЮрасовойМатериалы выступления Т. Юрасовой
Материалы выступления Т. ЮрасовойAcademiaSpb
 
Aathira s Tea Shop Photo Essay
Aathira s Tea Shop Photo EssayAathira s Tea Shop Photo Essay
Aathira s Tea Shop Photo EssayISYGrade6
 
Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...
Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...
Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...Julia Lebedeva
 
Khol's Torres Strait Youth Photo Essay
Khol's Torres Strait Youth Photo EssayKhol's Torres Strait Youth Photo Essay
Khol's Torres Strait Youth Photo EssayISYGrade6
 
"Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ...
"Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ..."Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ...
"Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ...Julia Lebedeva
 
Stimmy Boekenweek 2010 voorleesboek
Stimmy Boekenweek 2010 voorleesboekStimmy Boekenweek 2010 voorleesboek
Stimmy Boekenweek 2010 voorleesboekgroep12pius10
 
Cradle mountain presentation.
Cradle mountain presentation.Cradle mountain presentation.
Cradle mountain presentation.jillclarke
 
Материалы выступления В.М. Демина
Материалы выступления В.М. Демина Материалы выступления В.М. Демина
Материалы выступления В.М. Демина AcademiaSpb
 
Perwil kelompok
Perwil kelompokPerwil kelompok
Perwil kelompokfranqpunk
 
So long andthanksforallthefish
So long andthanksforallthefishSo long andthanksforallthefish
So long andthanksforallthefishFrancesco Perani
 
Bulletin INKALUS 1st Edition
Bulletin INKALUS 1st EditionBulletin INKALUS 1st Edition
Bulletin INKALUS 1st EditionTyo SBS
 

Viewers also liked (17)

Katerin betancur montoya
Katerin betancur montoyaKaterin betancur montoya
Katerin betancur montoya
 
Материалы выступления Т. Юрасовой
Материалы выступления Т. ЮрасовойМатериалы выступления Т. Юрасовой
Материалы выступления Т. Юрасовой
 
Aathira s Tea Shop Photo Essay
Aathira s Tea Shop Photo EssayAathira s Tea Shop Photo Essay
Aathira s Tea Shop Photo Essay
 
Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...
Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...
Opera Mobile Store: Opportunities for Developers and Partners, Сандра Ильина,...
 
Khol's Torres Strait Youth Photo Essay
Khol's Torres Strait Youth Photo EssayKhol's Torres Strait Youth Photo Essay
Khol's Torres Strait Youth Photo Essay
 
"Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ...
"Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ..."Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ...
"Рынок мобильных игр: обзор, тенденции, тренды" Павел Ряйкконен, директор по ...
 
Stimmy Boekenweek 2010 voorleesboek
Stimmy Boekenweek 2010 voorleesboekStimmy Boekenweek 2010 voorleesboek
Stimmy Boekenweek 2010 voorleesboek
 
Dutt1992 indian
Dutt1992 indianDutt1992 indian
Dutt1992 indian
 
Cradle mountain presentation.
Cradle mountain presentation.Cradle mountain presentation.
Cradle mountain presentation.
 
Материалы выступления В.М. Демина
Материалы выступления В.М. Демина Материалы выступления В.М. Демина
Материалы выступления В.М. Демина
 
L'aspetto sociale del p2p
L'aspetto sociale del p2pL'aspetto sociale del p2p
L'aspetto sociale del p2p
 
Perwil kelompok
Perwil kelompokPerwil kelompok
Perwil kelompok
 
My love
My loveMy love
My love
 
So long andthanksforallthefish
So long andthanksforallthefishSo long andthanksforallthefish
So long andthanksforallthefish
 
Marco Fanti
Marco FantiMarco Fanti
Marco Fanti
 
Weisskopf1983
Weisskopf1983Weisskopf1983
Weisskopf1983
 
Bulletin INKALUS 1st Edition
Bulletin INKALUS 1st EditionBulletin INKALUS 1st Edition
Bulletin INKALUS 1st Edition
 

Similar to Attsf css kt

Source Code Halaman Web Radio Stremaing [RAMEN RADIO]
Source Code Halaman Web Radio Stremaing [RAMEN RADIO]Source Code Halaman Web Radio Stremaing [RAMEN RADIO]
Source Code Halaman Web Radio Stremaing [RAMEN RADIO]Rizki Ogawa
 
autotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docxautotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docxikirkton
 
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2cori0506
 
css-note.pptx
css-note.pptxcss-note.pptx
css-note.pptxSamay16
 
CSS3 notes
CSS3 notesCSS3 notes
CSS3 notesRex Wang
 
The Ring programming language version 1.7 book - Part 49 of 196
The Ring programming language version 1.7 book - Part 49 of 196The Ring programming language version 1.7 book - Part 49 of 196
The Ring programming language version 1.7 book - Part 49 of 196Mahmoud Samir Fayed
 
Css methods architecture
Css methods architectureCss methods architecture
Css methods architectureLasha Sumbadze
 
Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)elliando dias
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Todd Zaki Warfel
 
Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebEduardo Shiota Yasuda
 
GOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatGOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatRachel Andrew
 
The Creative New World of CSS
The Creative New World of CSSThe Creative New World of CSS
The Creative New World of CSSRachel Andrew
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3 Wynn Netherland
 

Similar to Attsf css kt (20)

Source Code Halaman Web Radio Stremaing [RAMEN RADIO]
Source Code Halaman Web Radio Stremaing [RAMEN RADIO]Source Code Halaman Web Radio Stremaing [RAMEN RADIO]
Source Code Halaman Web Radio Stremaing [RAMEN RADIO]
 
autotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docxautotraderbackground115433.jpgautotraderbackgroundaction.docx
autotraderbackground115433.jpgautotraderbackgroundaction.docx
 
Web Layout
Web LayoutWeb Layout
Web Layout
 
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
 
card flip
card flip card flip
card flip
 
css-note.pptx
css-note.pptxcss-note.pptx
css-note.pptx
 
CSS3 notes
CSS3 notesCSS3 notes
CSS3 notes
 
Sass Essentials
Sass EssentialsSass Essentials
Sass Essentials
 
The Ring programming language version 1.7 book - Part 49 of 196
The Ring programming language version 1.7 book - Part 49 of 196The Ring programming language version 1.7 book - Part 49 of 196
The Ring programming language version 1.7 book - Part 49 of 196
 
Css methods architecture
Css methods architectureCss methods architecture
Css methods architecture
 
Class 10
Class 10Class 10
Class 10
 
Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3
 
Responsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da WebResponsive Web Design e a Ubiquidade da Web
Responsive Web Design e a Ubiquidade da Web
 
GOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for thatGOTO Berlin - You can use CSS for that
GOTO Berlin - You can use CSS for that
 
Css tips & tricks
Css tips & tricksCss tips & tricks
Css tips & tricks
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
CSS for Beginners
CSS for BeginnersCSS for Beginners
CSS for Beginners
 
The Creative New World of CSS
The Creative New World of CSSThe Creative New World of CSS
The Creative New World of CSS
 
Big Design Conference: CSS3
Big Design Conference: CSS3 Big Design Conference: CSS3
Big Design Conference: CSS3
 

Recently uploaded

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Attsf css kt

  • 1. 4 1 1 3 L I N E S O F S T Y L I N G G O O D N E S S AT&T Web Storefront CSS
  • 2. C L E A N S L A T E CSS Reset
  • 3. CSS Reset  http://meyerweb.com/eric/tools/css/reset/  The goal of a reset stylesheet is to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
  • 4. M A K E I T G O W H E R E I T N E E D S T O G O CSS Layout
  • 5. Grid Layout Fixed width grid-based layout At 900 pixels wide
  • 6. Grid Layout Class Width .Col-1 120 .Col-2 276 .Col-3 432 .Col-4 588 .Col-5 744 .Col-6 900 .Col-4 .Col-2
  • 7. Layout Utility Comparison .Col-1, .Col-2, .Col-3, .Col- 4, .Col-5  Has right margin for column gutter .Col-1L, .Col-2L, .Col-3L, .Col-4L, .Col-5L, .Col-6  No right margin
  • 8. Class Margin- bottom .Row-H 6 .Row-1 12 .Row-2 24 .Row-3 36 .Row-4 48 .Row-5 60 Grid Layout Row-3
  • 9. Normal classes Padding used instead for IE margin collapsing issue Internet Explore layout considerations Class Margin- bottom .Row-H 6 .Row-1 12 .Row-2 24 .Row-3 36 .Row-4 48 .Row-5 60 Class padding- bottom .Row-PH 6 .Row-P1 12 .Row-P2 24 .Row-P3 36 .Row-P4 48 .Row-P5 60
  • 10. Similar Layout Utility Classes  .Row-TX classes (“top”) are the similar except that the margin is applied to the top (i.e. .Row-T1 has margin-top:12px)  .R-X classes (“right”) have a right margin (i.e. .R-1 has margin-right:12px)  .L-X classes (“left”) have a left margin (i.e. .L-1 has margin-left:12px)  .Border-B, .Border-L, .Border-T, .Border-B similarly apply a border around the element’s respective edges
  • 11. A L O O K A T T H E C S S “ Z - I N D E X ” P R O P E R T Y Stacking Order
  • 12. Stacking order z-index  Ensures proper layering so that items like menus, popups, modal windows, appear above the content they are supposed to
  • 13. Stacking order z-index Class z-index .jScrollPaneContainer 1 .jScrollArrowUp 1 .jScrollArrowDown 1 .DropdownControl 3 .GlobalNavigation 4 .SubNavigation 70 .GlobalNavigation .Button 80 #overlay 90 .Popup 100 •Items with a higher z-index will appear above items with a lower z-index
  • 14. Internet Explorer z-index  IE7 renders the stacking order incorrectly  It reorders the z-index if it’s inside of a “positioned” element  http://brenelz.com/blog/squish-the-internet-explorer-z- index-bug/
  • 15. F L O A T I N G G R A P H I C M E T H O D F O R D Y N A M I C C O N T E N T Sliding Doors
  • 16. Sliding Doors (cont.) Wrapping dynamic content http://www.alistapart.com/articles/slidingdoors/More Info
  • 17. Sliding Doors  Creates flexible interface components  We need to expand the background images to compensate for that growth. We need to expand the background images to compensate for that growth.  SlidingDoors should have a  Wide background image that is positioned to the right;  Overlapping element that has a narrow background image that is positioned to the left and sits on top of the SlidingDoors background image.
  • 18. Sliding Doors CSS .Button class aligned to the right .Inside class “floating” to the left Markup <span class="Button"> <span class="Inside“> Button Text Here </span> </span>
  • 19. I T ’ S P R O B A B L Y G O I N G T O M A K E Y O U C R Y Onion Skinning
  • 20. CSS3 enhancement  Rounded Corners  Drop Shadow  Compliant Browsers -webkit-border-radius: 5px; -moz-border-radius: 5px; -webkit-box-shadow: 0px 0px 18px #555; -moz-box-shadow: 0px 0px 18px #555;
  • 21. Onion Skinning  To achieve this effect in Internet Explorer we need to use an image with the desired effect applied in a image creation program like Photoshop or Gimp. Rounded rectangle with drop shadow graphic
  • 22. Our friend Internet Explorer Square Peg, Round Hole <div class="Popup shadow-one PopMinIE" id="appPopup"> <div class="corner-a"></div> <div class="corner-b"></div> <div class="shadow-two"> <div class="shadow-three"> <div class="shadow-four"> Content Here <div class="ClearFix"></div> </div> </div> </div> </div>
  • 23. Onion Skinning  http://www.alistapart.com/articles/onionskin/  Multiple layers needed  Each layer reveals part of the graphic
  • 24. Onion Skinning  Allows for dynamic content that the edges “shrink wrap” to, but it does create a lot of additional markup (Not to scale)
  • 25. O P T I M I Z I N G C O M M O N G R A P H I C S Sprites
  • 27. Sprites  Reduces HTTP Requests for many individual images  Greatly improves performance  http://www.alistapart.com/articles/sprites
  • 28. Sprites “next” button has background-position: -10px -152px “previous” button has background-position:-10px -212px; Set dimension window Arrow Sprite