SlideShare uma empresa Scribd logo
1 de 1
Baixar para ler offline
CSS Quick Reference
  Defining styles                                                                  Height and width
  External                                                                         height: 20px; can be px, ems, %
  <link rel="stylesheet" type="text/css" href="styles.css" media="screen" />       width: 100px;

  Embedded                                                                         Margins
  <style type="text/css"> … </style>
                                                                                   top, right, bottom, left
                                                                                   margin: 2px 0px 2px 0px;
  Color                    Bold, italic, and underline         Text align
 p { color: red; }         font-weight: bold;                  text-align: left,   Padding                                       Borders
 p { color: #f00; }        font-style: italic;                 right, center       top right bottom left                         width style color
 p { color: #ff0000; }     text-decoration: underline;         justify;            padding: 2px 0px 2px 0px;                     border: 1px solid black;

  Image alignment                                        Spacing                   IDs                                           Classes
 vertical-align: super, top, text-top, middle,           letter-spacing: 2px;      You should only use an id once/file.          You can use a class many times.
                 baseline, bottom, text-bottom,          word-spacing: 2px;        P#myID { color: #f000; }                      p.myClass { color: #f00; }
 sub                                                                               <p id=“myID”>red text</p>                     <p class="myClass">red text</p>
 Background
                                                                                   #myID { color: #f00; }                        .myClass { color: #f00; }
 background-color:          #f00;                                                  <p id=“myID">red text</p> or                  <h1 class="myClass">red text</h1>
 background-image:          url(image.gif);                                        <h1 id=“myID">red text</h1>                   <p class="myClass">red text</p>
 background-repeat:         repeat, no-repeat, repeat-x, repeat-y
 background-attachment:     scroll, fixed                                          Measurement units                             Link pseudo selectors
 background-position:       top, center, bottom, left, right                       points: 12pt; /* good for print styles */     LoVe/HAte     a:link { color: red; }
                                                                                   pixels: 12px; /* used for spacing */          :link
 Shorthand                                                                         ‘ems’: 1em; /* ≈ 100% */
 background: #fff url(image.gif) no-repeat fixed center;                                                                         :visited
                                                                                   percentages: 120%; /* will inherit */         :focus
                                                                                                                                 :hover
 Lists                                                                             Position, overflow, and visibility            :active
 list-style-type:     circle, decimal, disc, square, lower-roman,                  clear:        both, left, right, none
                      upper-roman, lower-alpha, upper-alpha, none                  float:        left, right, none               Comments
 list-style-position: inside or outside                                            left:         auto, measurement value
 list-style-image: url(image.gif);                                                 top:          auto, measurement value         /* this is a comment */
                                                                                   position:     relative, absolute
                                                                                   overflow:     visible, hidden, scroll, auto
 Font family                                                                       visibility:   visible, hidden
 font-family: Georgia, "Times New Roman", serif;                                   z-index:      auto, integer

© 2012 ClickStart, Inc. | UX + UA Consulting and Training | www.clickstart.net

Mais conteúdo relacionado

Semelhante a CSS Quick Reference / Cheat Sheet - Scott DeLoach, ClickStart

Finding a Better Way to CSS: Navigating Sass with Compass
Finding a Better Way to CSS: Navigating Sass with CompassFinding a Better Way to CSS: Navigating Sass with Compass
Finding a Better Way to CSS: Navigating Sass with CompassClaudina Sarahe
 
css-note.pptx
css-note.pptxcss-note.pptx
css-note.pptxSamay16
 
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)Adam Darowski
 
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
 
Demystifying CSS & WordPress
Demystifying CSS & WordPressDemystifying CSS & WordPress
Demystifying CSS & WordPressJustin Carmony
 
Simplifying CSS With Sass
Simplifying CSS With SassSimplifying CSS With Sass
Simplifying CSS With SassThomas Reynolds
 
ID01 Week 3
ID01 Week 3ID01 Week 3
ID01 Week 3mkontopo
 
Work and play with SASS & Compass
Work and play with SASS & CompassWork and play with SASS & Compass
Work and play with SASS & CompassAndreas Dantz
 
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2cori0506
 
Bloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.noBloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.noHannee92
 
Express HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docx
Express HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docxExpress HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docx
Express HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docxssuser454af01
 
cssstyle.cssbody { font-family Montserrat, Arial, sa
cssstyle.cssbody {    font-family Montserrat, Arial, sacssstyle.cssbody {    font-family Montserrat, Arial, sa
cssstyle.cssbody { font-family Montserrat, Arial, saMargenePurnell14
 
Html standards presentation
Html standards presentationHtml standards presentation
Html standards presentationTiago Cardoso
 

Semelhante a CSS Quick Reference / Cheat Sheet - Scott DeLoach, ClickStart (20)

Finding a Better Way to CSS: Navigating Sass with Compass
Finding a Better Way to CSS: Navigating Sass with CompassFinding a Better Way to CSS: Navigating Sass with Compass
Finding a Better Way to CSS: Navigating Sass with Compass
 
css-note.pptx
css-note.pptxcss-note.pptx
css-note.pptx
 
Horario
HorarioHorario
Horario
 
Estilos Css
Estilos CssEstilos Css
Estilos Css
 
Tmx9
Tmx9Tmx9
Tmx9
 
Sass Essentials
Sass EssentialsSass Essentials
Sass Essentials
 
Cloudstack UI Customization
Cloudstack UI CustomizationCloudstack UI Customization
Cloudstack UI Customization
 
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)
Sassive Aggressive: Using Sass to Make Your Life Easier (NSWG Version)
 
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]
 
Demystifying CSS & WordPress
Demystifying CSS & WordPressDemystifying CSS & WordPress
Demystifying CSS & WordPress
 
Css(handbook)
Css(handbook)Css(handbook)
Css(handbook)
 
Simplifying CSS With Sass
Simplifying CSS With SassSimplifying CSS With Sass
Simplifying CSS With Sass
 
ID01 Week 3
ID01 Week 3ID01 Week 3
ID01 Week 3
 
Work and play with SASS & Compass
Work and play with SASS & CompassWork and play with SASS & Compass
Work and play with SASS & Compass
 
Theme01
Theme01Theme01
Theme01
 
Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2Corilennyg gmail-com-rsp2
Corilennyg gmail-com-rsp2
 
Bloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.noBloggdesign #2 - hawaa.blogg.no
Bloggdesign #2 - hawaa.blogg.no
 
Express HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docx
Express HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docxExpress HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docx
Express HolidaysExpress Holidaysabout.htmlHomeAbout UsDestin.docx
 
cssstyle.cssbody { font-family Montserrat, Arial, sa
cssstyle.cssbody {    font-family Montserrat, Arial, sacssstyle.cssbody {    font-family Montserrat, Arial, sa
cssstyle.cssbody { font-family Montserrat, Arial, sa
 
Html standards presentation
Html standards presentationHtml standards presentation
Html standards presentation
 

Mais de Scott DeLoach

Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...
Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...
Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...Scott DeLoach
 
Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...
Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...
Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...Scott DeLoach
 
Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...
Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...
Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...Scott DeLoach
 
Microcontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStart
Microcontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStartMicrocontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStart
Microcontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStartScott DeLoach
 
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStartCSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStartScott DeLoach
 
Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...
Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...
Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...Scott DeLoach
 
Extreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStart
Extreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStartExtreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStart
Extreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStartScott DeLoach
 
Adapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStart
Adapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStartAdapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStart
Adapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStartScott DeLoach
 
Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...
Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...
Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...Scott DeLoach
 
Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...
Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...
Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...Scott DeLoach
 
Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...
Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...
Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...Scott DeLoach
 
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStartIntro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStartScott DeLoach
 
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...Scott DeLoach
 
Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...
Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...
Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...Scott DeLoach
 
How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...
How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...
How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...Scott DeLoach
 
Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...
Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...
Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...Scott DeLoach
 
MadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStart
MadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStartMadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStart
MadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStartScott DeLoach
 
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStartMadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStartScott DeLoach
 
Embedded User Assistance Best Practices, Scott DeLoach, ClickStart
Embedded User Assistance Best Practices, Scott DeLoach, ClickStartEmbedded User Assistance Best Practices, Scott DeLoach, ClickStart
Embedded User Assistance Best Practices, Scott DeLoach, ClickStartScott DeLoach
 

Mais de Scott DeLoach (19)

Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...
Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...
Formatting Images with CSS in MadCap Flare - MadCap webinar, Scott DeLoach, C...
 
Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...
Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...
Dynamic User Assistance in MadCap Flare - MadWorld 2019, Scott DeLoach, Click...
 
Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...
Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...
Enhancing MadCap Flare HTML5 Responsive Layout and Design - MadWorld 2019, Sc...
 
Microcontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStart
Microcontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStartMicrocontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStart
Microcontent Authoring - Nordic Techkomm 2019, Scott DeLoach, ClickStart
 
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStartCSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
CSS Best Practices - tcworld 2018, Scott DeLoach, ClickStart
 
Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...
Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...
Advanced Skinless HTML5 Design with MadCap Flare - MadWorld 2018, Scott DeLoa...
 
Extreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStart
Extreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStartExtreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStart
Extreme CSS Techniques - MadWorld Europe 2018, Scott DeLoach, ClickStart
 
Adapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStart
Adapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStartAdapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStart
Adapting Content for Mobile Devices - tcworld 2017, Scott DeLoach, ClickStart
 
Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...
Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...
Best-in-Class Embedded User Assistance - UA Europe 2017, Scott DeLoach, Click...
 
Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...
Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...
Cutting Edge HTML5 Design with MadCap Flare - tcworld 2017, Scott DeLoach, Cl...
 
Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...
Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...
Extending MadCap Flare HTML5 Targets with jQuery - MadWorld 2016, Scott DeLoa...
 
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStartIntro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
Intro to CSS in MadCap Flare - MadWorld 2016, Scott DeLoach, ClickStart
 
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
Responsive Content: A CSS-based Approach - MadWorld 2015, Scott DeLoach, Clic...
 
Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...
Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...
Applying Responsive Web Design (RWD) to UA - WritersUA East 2015, Scott DeLoa...
 
How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...
How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...
How to Not Let Team Authoring Drive You Crazy - MadWorld 2013, Scott DeLoach,...
 
Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...
Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...
Using MadCap Flare Reports and MadCap Analyzer - MadWorld 2013, Scott DeLoach...
 
MadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStart
MadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStartMadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStart
MadCap Flare Keyboard Shortcuts - Scott DeLoach, ClickStart
 
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStartMadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
MadCap Flare Tips and Tricks - Scott DeLoach, ClickStart
 
Embedded User Assistance Best Practices, Scott DeLoach, ClickStart
Embedded User Assistance Best Practices, Scott DeLoach, ClickStartEmbedded User Assistance Best Practices, Scott DeLoach, ClickStart
Embedded User Assistance Best Practices, Scott DeLoach, ClickStart
 

Último

Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 

Último (20)

Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 

CSS Quick Reference / Cheat Sheet - Scott DeLoach, ClickStart

  • 1. CSS Quick Reference Defining styles Height and width External height: 20px; can be px, ems, % <link rel="stylesheet" type="text/css" href="styles.css" media="screen" /> width: 100px; Embedded Margins <style type="text/css"> … </style> top, right, bottom, left margin: 2px 0px 2px 0px; Color Bold, italic, and underline Text align p { color: red; } font-weight: bold; text-align: left, Padding Borders p { color: #f00; } font-style: italic; right, center top right bottom left width style color p { color: #ff0000; } text-decoration: underline; justify; padding: 2px 0px 2px 0px; border: 1px solid black; Image alignment Spacing IDs Classes vertical-align: super, top, text-top, middle, letter-spacing: 2px; You should only use an id once/file. You can use a class many times. baseline, bottom, text-bottom, word-spacing: 2px; P#myID { color: #f000; } p.myClass { color: #f00; } sub <p id=“myID”>red text</p> <p class="myClass">red text</p> Background #myID { color: #f00; } .myClass { color: #f00; } background-color: #f00; <p id=“myID">red text</p> or <h1 class="myClass">red text</h1> background-image: url(image.gif); <h1 id=“myID">red text</h1> <p class="myClass">red text</p> background-repeat: repeat, no-repeat, repeat-x, repeat-y background-attachment: scroll, fixed Measurement units Link pseudo selectors background-position: top, center, bottom, left, right points: 12pt; /* good for print styles */ LoVe/HAte a:link { color: red; } pixels: 12px; /* used for spacing */ :link Shorthand ‘ems’: 1em; /* ≈ 100% */ background: #fff url(image.gif) no-repeat fixed center; :visited percentages: 120%; /* will inherit */ :focus :hover Lists Position, overflow, and visibility :active list-style-type: circle, decimal, disc, square, lower-roman, clear: both, left, right, none upper-roman, lower-alpha, upper-alpha, none float: left, right, none Comments list-style-position: inside or outside left: auto, measurement value list-style-image: url(image.gif); top: auto, measurement value /* this is a comment */ position: relative, absolute overflow: visible, hidden, scroll, auto Font family visibility: visible, hidden font-family: Georgia, "Times New Roman", serif; z-index: auto, integer © 2012 ClickStart, Inc. | UX + UA Consulting and Training | www.clickstart.net