All Projects → AdamMarsden → Css Cheat Sheet

AdamMarsden / Css Cheat Sheet

CSS Cheat Sheet - A reference for CSS goodness.

Projects that are alternatives of or similar to Css Cheat Sheet

terminator-cheat-sheet
Cheat Sheet for Terminator
Stars: ✭ 72 (-76.77%)
Mutual labels:  cheatsheet
Curl Cheat Sheet
A single page document with the most important curl options for HTTP explained
Stars: ✭ 262 (-15.48%)
Mutual labels:  cheatsheet
Stl cheat sheets
C++ STL Cheat Sheets.
Stars: ✭ 293 (-5.48%)
Mutual labels:  cheatsheet
CatsCheatSheet
This project is to contain a listing of common theorems in elementary category theory.
Stars: ✭ 61 (-80.32%)
Mutual labels:  cheatsheet
Aem Links
Adobe Experience Manager links, cheat sheets and solutions to common problems.
Stars: ✭ 254 (-18.06%)
Mutual labels:  cheatsheet
Boostnote Markdown Cheatsheet
📋 📘 The missing one page markdown feature cheat sheet for Boostnote
Stars: ✭ 276 (-10.97%)
Mutual labels:  cheatsheet
Reinforcement-Learning-CheatSheet
Cheatsheet of Reinforcement Learning (Based on Sutton-Barto Book - 2nd Edition)
Stars: ✭ 22 (-92.9%)
Mutual labels:  cheatsheet
Ios Uifont Names
A handy cheatsheet for calling UIFont(name: size:)
Stars: ✭ 305 (-1.61%)
Mutual labels:  cheatsheet
Temme
📄 Concise selector to extract JSON from HTML.
Stars: ✭ 257 (-17.1%)
Mutual labels:  css-selector
Idiosyncratic Ruby.com
Documenting All Ruby Specialities 💎︎
Stars: ✭ 292 (-5.81%)
Mutual labels:  cheatsheet
stringsheet
A cheatsheet for most common Stringology tasks
Stars: ✭ 13 (-95.81%)
Mutual labels:  cheatsheet
Awesome Cheatsheets Cn
🔥🔥🔥专为国人开发者打造的 Cheat Sheet — 操作系统、数据库、编程语言、框架和开发工具等速查表。通过一个文件快速掌握或查找你所需的关键知识。🚀🚀项目上榜靠你了,觉得不错点个 Star 吧!🚀🚀
Stars: ✭ 255 (-17.74%)
Mutual labels:  cheatsheet
React Lifecycle Methods Diagram
Interactive React Lifecycle Methods diagram.
Stars: ✭ 3,253 (+949.35%)
Mutual labels:  cheatsheet
pls
✏️ Impressive Linux commands cheat sheet CLI written in Go.
Stars: ✭ 54 (-82.58%)
Mutual labels:  cheatsheet
Cheatsheet God
Penetration Testing Reference Bank - OSCP / PTP & PTX Cheatsheet
Stars: ✭ 3,521 (+1035.81%)
Mutual labels:  cheatsheet
modest ex
Elixir library to do pipeable transformations on html strings (with CSS selectors)
Stars: ✭ 31 (-90%)
Mutual labels:  css-selector
Javascript Cheatsheet
Basic Javascript Cheat Sheet
Stars: ✭ 262 (-15.48%)
Mutual labels:  cheatsheet
Awesome Android Interview
🔥 A awesome android expert interview questions and answers(continuous updating ...)
Stars: ✭ 3,596 (+1060%)
Mutual labels:  cheatsheet
Training Kit
Open source courseware for Git and GitHub
Stars: ✭ 3,462 (+1016.77%)
Mutual labels:  cheatsheet
Css Select
a CSS selector compiler & engine
Stars: ✭ 279 (-10%)
Mutual labels:  css-selector

CSS Cheat Sheet

A quick go to guide for CSS goodness. Checkout the pretty version.

Contributing

If you have a bug to report about the pretty CSS Cheat Sheet or something to add onto the CSS Cheat Sheet follow the contribution guidelines.

CSSCS Nav

Selectors

Universal Selector * {}

Type Selector h1, h2 ,h3 {}

Child Selector ul > li {}

Descendant Selector p a {}

Class Selector .class {}

ID Selector #id {}

Adjacent Sibling Selector h1 + p {}

General Sibling Selector h1 ~ p {}

Attribute Selector [attribute="SomeValue"] {}

Pseudo Selectors & Elements

Mouse Over Selector a:hover {}

Active Link Selector a:active {}

Focus Selector input:focus {}

Visited Links Selector a:visited {}

Link Selector .class:link {}

First Line Selector p::first-line {}

First Letter Selector p::first-letter {}

First Child Selector p:first-child {}

Last Child Selector p:last-child {}

Only Child Selector p:only-child {}

:nth-child Selector p:nth-child() {}

First Element of its Parent Selector p:first-of-type {}

Checked elements selector input:checked {}

Disabled elements selector input:disabled {}

Enabled elements selector input:enabled {}

Elements that have no Children Selector (including text nodes) p:empty {}

Not a Specified Element Selector :not(p) {}

Before Element .class::before {}

After Element .class::before {}

Text Styling

Font style font-style: normal | italic | oblique

Font Variant font-variant: normal | small-caps

Font Weight font-weight: normal | bold | bolder | lighter | 100 - 900

Vertical Alignment vertical-align: baseline | 10px | sub | super | top | text-top | middle | bottom | text-bottom | initial

Font Size font-size: 12px | 0.8em | 80%

Text Transform text-transform: capitalise | lowercase | uppercase

Space Between Characters letter-spacing: normal | 4px

Line Height line-height: normal | 3em | 34%

Horizontal Alignment text-align: left | right | center | justify

Text Align Last text-align-last: auto | left | right | center | justify | start | end | initial | inherit

Text Decoration text-decoration: none | underline | overline | line-through

Indent First Line text-indent: 25px

Font Family font-family: 'Open Sans', sans-serif

Text Justify text-justify: auto | inter-word | inter-character | none | initial | inherit

Text Overflow text-overflow: clip | ellipsis | string | initial | inherit

Text Shadow text-shadow: h-shadow v-shadow blur-radius color | none | initial | inherit

Position

Position position: static | relative | absolute | fixed | sticky

Position Properties top | right | bottom | left

Float Element float: left | right | none

Clear Floating Elements clear: none | left | right | both

Z Index z-index: 3 | auto | inherit

Background

Background Image background-image: url()

Background Repeat background-repeat: repeat-x | repeat-y | repeat | space | round | no-repeat

Background Color background-color: #2AA9E0

Background Position background-position: top | right | bottom | left | center

Background Attachment background-attachment: scroll | fixed | local | initial | inherit

Box properties

Box Sizing box-sizing: border-box | content-box

Margin margin: 2px 4px 6px 8px | 0 auto

Padding padding: 2px 4px 6px 8px

Border Color border-color: #2AA9E0

Border Style border-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset

Border Width border-width: 10px

List Styling

List Type list-style-type: disc | circle | square | none

List Position list-style-position: inside | outside

List Image list-style-image: url()

Flexbox

Flex Direction flex-direction: row | row-reverse | column | column-reverse

Flex Wrap flex-wrap: nowrap | wrap | wrap-reverse

Justify Content justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly

Align Items align-items: flex-start | flex-end | center | baseline | stretch

Align Content align-content: flex-start | flex-end | center | space-between | space-around | stretch

Order order: 0

Flex Grow flex-grow: 0

Flex Shrink flex-shrink: 1

Flex Basis flex-basis: 3px | auto

Align Self align-self: auto | flex-start | flex-end | center | baseline | stretch

CSS Grid

Grid Template Columns grid-template-columns: 40px 50px auto 50px 40px

Grid Template Rows grid-template-rows: 25% 100px auto

Grid Template Areas grid-template-areas: "a b c" | none

Grid Template grid-template: "a a a" 20% "b b b" auto | 100px 1fr / 50px 1fr

Grid Column Gap grid-column-gap: 10px

Grid Row Gap grid-row-gap: 10px

Justify Items justify-items: start | end | center | stretch

Align Items align-items: start | end | center | stretch

Justify Content justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly

Align Content align-content: flex-start | flex-end | center | space-between | space-around | stretch

Grid Auto Columns grid-auto-columns: 100px | max-content | min-content

Grid Auto Rows grid-auto-rows: 100px | max-content | min-content

Grid Auto Flow grid-auto-flow: row | column | row dense | column dense

Grid Column Start grid-column-start: 2 | areaname | span 2 | span areaname | auto

Grid Column End grid-column-end: 2 | areaname | span 2 | span areaname | auto

Grid Row Start grid-row-start: 2 | areaname | span 2 | span areaname | auto

Grid Row End grid-row-end: 2 | areaname | span 2 | span areaname | auto

Grid Column grid-column: 3 / span 2

Grid Row grid-row: 3 / span 2

Justify Self justify-self: start | end | center | stretch

Align Self align-self: start | end | center | stretch

Dynamic Content

CSS Variable --variable-name: value

Variable Usage var(--variable-name)

Counter Reset counter-reset: name-of-counter

Counter Increment counter-increment: name-of-counter

Counter Dynamic Value content: counter(name-of-counter)

Attribute Dynamic Value content: attr(name-of-attribute)

Credits

Built & Maintained by Adam Marsden

License

Creative Commons Attribution-ShareAlike

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].