SlideShare a Scribd company logo
1 of 1
Download to read offline
Boxes                                                                                                           Paging


                                       css
           margin *                                                                                                          size
         margin-top                                                                                                          marks
       margin-right                                                                                                          page-break-before
      margin-bottom                                                                                                          page-break-after
         margin-left                                                                                                         page-break-inside
                                                                                                                             page
          padding *                                                                                                          orphans
        padding-top                                                                                                          widows
       padding-right
     padding-bottom                                                                                                          Color / Background
                             /* Comment */                                                               Width
                                                                                     Visible Area
        padding-left                                                                                                         color
                             @media type {
                                                                                                                             * background
                                   selector {
            border     *                                                                                                     background-color
                                       property: values;
        border-top     *                                                                                                     background-image
    border-bottom      *                                                                                                     background-repeat
                                   }
      border-right     *                                                                                                     background-attachment
                             }                       (Media type optional)
        border-left    *                                                                                                     background-position

      border-color *                                                                                                         Fonts
    border-top-color                                                                                                         * font
  border-right-color                                                                                                         font-family
                                                Styles apply to:
border-bottom-color                                                                                                          font-style
                            *                   All elements
    border-left-color                                                                                                        font-variant
                            div                 <div>
                                                                                                                             font-weight
                                                                                 Height    Border   Padding         Margin
                            div *               Elements within <div>
      border-style *                                                                                                         font-stretch
   border-top-style         div span                                                                                         font-size
                                                <span> within <div>
  border-right-style                                                                                                         font-size-adjust
                            div, span           <div> and <span>
border-bottom-style
                            div > span          <span> with <div> as
    border-left-style                                                                                                        Text
                                                parent                       px               Pixels                         text-indent
      border-width *        div + span                                                                                       text-align
                                                <span> preceded by           em               1em equal to font size of
   border-top-width                                                                                                          text-decoration
                                                <div> ... </div>                              parent (same as 100%)
  border-right-width                                                                                                         text-shadow
                            .class              Elements of class quot;classquot;    ex               Height of lower case quot;xquot;
border-bottom-width                                                                                                          letter-spacing
                            div.class           <div> of class quot;classquot;       %                Percentage
    border-left-width                                                                                                        word-spacing
                            #itemid                                                                                          text-transform
                                                Element with id quot;itemidquot;     in               Inches
         Positioning                                                                                                         white-space
                            div#itemid          <div> with id quot;itemidquot;       cm               Centimeters
               display
                            a[class]            <a> with class attribute     mm               Millimeters
              position                                                                                                       Tables
                            a[class='x']        <a> when class is quot;xquot;        pt               1pt = 1/72in
                    top                                                                                                      caption-side
                 right      a[class~='x'] <a> when class is a list                                                           table-layout
                                                                             pc               1pc = 12pt
               bottom                                                                                                        border-collapse
                                                of space-seperated values    #789abc          RGB Hex Notation
                    left                                                                                                     border-spacing
                                                and one of those is 'x'      #acf             Equates to quot;#aaccffquot;
                  float                                                                                                      empty-cells
                            a[lang|='en']       <a> when lang begins         rgb(0,25,50)     Value (0 to 255) of each
                 clear                                                                                                       speak-header
              z-index                           with quot;enquot;                                     of red, green, and blue.
            direction                                                                                                        Interface
                                                                                              May also be percentages
         unicode-bidi                                                                                                        cursor
                                                                             0                0 requires no unit
             overflow                                                                                                        * outline
                    clip                                                                                                     outline-width
                                                Styles apply to:
             visibility                                                                                                      outline-style
                                                                                                                             outline-color
                            :first-child        First child of element
        Dimensions                                                           azimuth                   list-style
                            :first-line         First line of element
                width                                                                                                        Aural
                                                                             border-collapse           list-style-image
                            :first-letter       First letter of element
           min-width                                                                                                         volume
                                                                             border-spacing            list-style-position
                            :hover              Element when mouse over
          max-width                                                                                                          speak
                                                                             caption-side              list-style-type
               height                                                                                                        * pause
                            :active             Active element
          min-height                                                                                                         pause-before
                                                                             color                     orphans
                            :focus              Element with focus
         max-height                                                                                                          pause-after
                                                                             cursor                    page
                            :link               Non-active, unvisited
          line-height                                                                                                        * cue
                                                                             direction                 page-break-inside
                                                links without mouse over.
        vertical-align                                                                                                       cue-before
                                                                             empty-cells               quotes                cue-after
                            :visited            Visited links
     Miscellaneous                                                                                                           play-during
                                                                             font                      speak
                            :lang(lang)         Element with text of
                 content                                                                                                     azimuth
                                                                             font-family               speak-header
                                                language quot;langquot;
                  quotes                                                                                                     elevation
                                                                             font-stretch              text-align
         counter-reset                                                                                                       speech-rate
                                                                             font-size                 text-indent
  counter-increment                                                                                                          voice-family
         marker-offset                                                                                                       pitch
                                                                             font-size-adjust          text-transform
             list-style *                                                                                                    pitch-range
                                                                             font-style                volume
                             all                     projection
         list-style-type                                                                                                     stress
                                                                             font-variant              white-space
                             braille                 screen
      list-style-image                                                                                                       richness
                                                                             font-weight               widows
   list-style-position                                                                                                       speak-punctuation
                             embossed                speech
                                                                                                                             speak-numeral
                                                                             letter-spacing            word-spacing
                             handheld                tty
  Shorthand properties
                                                                             line-height                                     Available free from
                             print                   tv
    are marked with *
                                                                                                                             ILoveJackDaniels.com

More Related Content

What's hot

B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data Structure
Anuj Modi
 

What's hot (20)

AVL Tree Data Structure
AVL Tree Data StructureAVL Tree Data Structure
AVL Tree Data Structure
 
Huffman coding
Huffman coding Huffman coding
Huffman coding
 
Binary Search
Binary SearchBinary Search
Binary Search
 
linked list in Data Structure, Simple and Easy Tutorial
linked list in Data Structure, Simple and Easy Tutoriallinked list in Data Structure, Simple and Easy Tutorial
linked list in Data Structure, Simple and Easy Tutorial
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
B and B+ tree
B and B+ treeB and B+ tree
B and B+ tree
 
Guided media
Guided mediaGuided media
Guided media
 
Linear search-and-binary-search
Linear search-and-binary-searchLinear search-and-binary-search
Linear search-and-binary-search
 
Searching algorithms
Searching algorithmsSearching algorithms
Searching algorithms
 
Regular language and Regular expression
Regular language and Regular expressionRegular language and Regular expression
Regular language and Regular expression
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data Structure
 
358 33 powerpoint-slides_14-sorting_chapter-14
358 33 powerpoint-slides_14-sorting_chapter-14358 33 powerpoint-slides_14-sorting_chapter-14
358 33 powerpoint-slides_14-sorting_chapter-14
 
WAP
WAPWAP
WAP
 
STACKS IN DATASTRUCTURE
STACKS IN DATASTRUCTURESTACKS IN DATASTRUCTURE
STACKS IN DATASTRUCTURE
 
Bubble sort
Bubble sortBubble sort
Bubble sort
 
Dynamic Semantics
Dynamic SemanticsDynamic Semantics
Dynamic Semantics
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
Congestion control
Congestion controlCongestion control
Congestion control
 
AVL Tree in Data Structure
AVL Tree in Data Structure AVL Tree in Data Structure
AVL Tree in Data Structure
 
Hashing PPT
Hashing PPTHashing PPT
Hashing PPT
 

Similar to Css Cheat Sheet (8)

Css cheat sheet
Css cheat sheetCss cheat sheet
Css cheat sheet
 
CSS
CSSCSS
CSS
 
CSS3
CSS3CSS3
CSS3
 
Css3 Cheat Sheet
Css3 Cheat SheetCss3 Cheat Sheet
Css3 Cheat Sheet
 
Css3 cheat-sheet
Css3 cheat-sheetCss3 cheat-sheet
Css3 cheat-sheet
 
Css3
Css3Css3
Css3
 
Шпаргалка оп Css3
Шпаргалка оп Css3Шпаргалка оп Css3
Шпаргалка оп Css3
 
CSS3 דף קוד
CSS3 דף קוד CSS3 דף קוד
CSS3 דף קוד
 

More from brighteyes

Amia 00 Curriculum Presentation
Amia 00 Curriculum PresentationAmia 00 Curriculum Presentation
Amia 00 Curriculum Presentation
brighteyes
 
Himss Covvey Departmental Systems Poster
Himss Covvey Departmental Systems PosterHimss Covvey Departmental Systems Poster
Himss Covvey Departmental Systems Poster
brighteyes
 
Waterloo Adv Bd Dec 00
Waterloo Adv Bd Dec 00Waterloo Adv Bd Dec 00
Waterloo Adv Bd Dec 00
brighteyes
 
Waterloo September 00 Presentations
Waterloo September 00 PresentationsWaterloo September 00 Presentations
Waterloo September 00 Presentations
brighteyes
 

More from brighteyes (20)

Our Future and the End of the Oil Age: Building Resilience in a Resource-Cons...
Our Future and the End of the Oil Age: Building Resilience in a Resource-Cons...Our Future and the End of the Oil Age: Building Resilience in a Resource-Cons...
Our Future and the End of the Oil Age: Building Resilience in a Resource-Cons...
 
Alberta's EHR System - PIN
Alberta's EHR System - PINAlberta's EHR System - PIN
Alberta's EHR System - PIN
 
Amia 00 Curriculum Presentation
Amia 00 Curriculum PresentationAmia 00 Curriculum Presentation
Amia 00 Curriculum Presentation
 
Himss Covvey Departmental Systems Poster
Himss Covvey Departmental Systems PosterHimss Covvey Departmental Systems Poster
Himss Covvey Departmental Systems Poster
 
Waterloo Adv Bd Dec 00
Waterloo Adv Bd Dec 00Waterloo Adv Bd Dec 00
Waterloo Adv Bd Dec 00
 
Waterloo September 00 Presentations
Waterloo September 00 PresentationsWaterloo September 00 Presentations
Waterloo September 00 Presentations
 
Mecca Construction Plans for the Future - Kabah
Mecca Construction Plans for the Future - KabahMecca Construction Plans for the Future - Kabah
Mecca Construction Plans for the Future - Kabah
 
A I G Systemic Risk2 Tcm385 152209
A I G Systemic Risk2 Tcm385 152209A I G Systemic Risk2 Tcm385 152209
A I G Systemic Risk2 Tcm385 152209
 
Abugharaib Torture
Abugharaib TortureAbugharaib Torture
Abugharaib Torture
 
Expressivism
ExpressivismExpressivism
Expressivism
 
Torture
TortureTorture
Torture
 
The World Can't Wait
The World Can't WaitThe World Can't Wait
The World Can't Wait
 
Ethics Of Torture
Ethics Of TortureEthics Of Torture
Ethics Of Torture
 
Marketing to the Islamic World
Marketing to the Islamic WorldMarketing to the Islamic World
Marketing to the Islamic World
 
ISLAMIC BANKING AND FINANCE: MALAYSIA’S EXPERIENCE AND ACHIEVEMENTS
ISLAMIC BANKING AND FINANCE: MALAYSIA’S EXPERIENCE AND ACHIEVEMENTSISLAMIC BANKING AND FINANCE: MALAYSIA’S EXPERIENCE AND ACHIEVEMENTS
ISLAMIC BANKING AND FINANCE: MALAYSIA’S EXPERIENCE AND ACHIEVEMENTS
 
Canadian Banks Islamic FINANCE
Canadian Banks Islamic FINANCECanadian Banks Islamic FINANCE
Canadian Banks Islamic FINANCE
 
Developing New Data Types with Plone
Developing New Data Types with PloneDeveloping New Data Types with Plone
Developing New Data Types with Plone
 
Zope and Plone in the DSD
Zope and Plone in the DSDZope and Plone in the DSD
Zope and Plone in the DSD
 
Plone A Content Management System Chitra Mohla
Plone A Content Management System Chitra MohlaPlone A Content Management System Chitra Mohla
Plone A Content Management System Chitra Mohla
 
Content Management with Plone
Content Management with PloneContent Management with Plone
Content Management with Plone
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
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...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Css Cheat Sheet

  • 1. Boxes Paging css margin * size margin-top marks margin-right page-break-before margin-bottom page-break-after margin-left page-break-inside page padding * orphans padding-top widows padding-right padding-bottom Color / Background /* Comment */ Width Visible Area padding-left color @media type { * background selector { border * background-color property: values; border-top * background-image border-bottom * background-repeat } border-right * background-attachment } (Media type optional) border-left * background-position border-color * Fonts border-top-color * font border-right-color font-family Styles apply to: border-bottom-color font-style * All elements border-left-color font-variant div <div> font-weight Height Border Padding Margin div * Elements within <div> border-style * font-stretch border-top-style div span font-size <span> within <div> border-right-style font-size-adjust div, span <div> and <span> border-bottom-style div > span <span> with <div> as border-left-style Text parent px Pixels text-indent border-width * div + span text-align <span> preceded by em 1em equal to font size of border-top-width text-decoration <div> ... </div> parent (same as 100%) border-right-width text-shadow .class Elements of class quot;classquot; ex Height of lower case quot;xquot; border-bottom-width letter-spacing div.class <div> of class quot;classquot; % Percentage border-left-width word-spacing #itemid text-transform Element with id quot;itemidquot; in Inches Positioning white-space div#itemid <div> with id quot;itemidquot; cm Centimeters display a[class] <a> with class attribute mm Millimeters position Tables a[class='x'] <a> when class is quot;xquot; pt 1pt = 1/72in top caption-side right a[class~='x'] <a> when class is a list table-layout pc 1pc = 12pt bottom border-collapse of space-seperated values #789abc RGB Hex Notation left border-spacing and one of those is 'x' #acf Equates to quot;#aaccffquot; float empty-cells a[lang|='en'] <a> when lang begins rgb(0,25,50) Value (0 to 255) of each clear speak-header z-index with quot;enquot; of red, green, and blue. direction Interface May also be percentages unicode-bidi cursor 0 0 requires no unit overflow * outline clip outline-width Styles apply to: visibility outline-style outline-color :first-child First child of element Dimensions azimuth list-style :first-line First line of element width Aural border-collapse list-style-image :first-letter First letter of element min-width volume border-spacing list-style-position :hover Element when mouse over max-width speak caption-side list-style-type height * pause :active Active element min-height pause-before color orphans :focus Element with focus max-height pause-after cursor page :link Non-active, unvisited line-height * cue direction page-break-inside links without mouse over. vertical-align cue-before empty-cells quotes cue-after :visited Visited links Miscellaneous play-during font speak :lang(lang) Element with text of content azimuth font-family speak-header language quot;langquot; quotes elevation font-stretch text-align counter-reset speech-rate font-size text-indent counter-increment voice-family marker-offset pitch font-size-adjust text-transform list-style * pitch-range font-style volume all projection list-style-type stress font-variant white-space braille screen list-style-image richness font-weight widows list-style-position speak-punctuation embossed speech speak-numeral letter-spacing word-spacing handheld tty Shorthand properties line-height Available free from print tv are marked with * ILoveJackDaniels.com