Code Monkey home page Code Monkey logo

css-cheatsheet's Introduction

#SELECTORS ##Relational Selectors

  • Descendant (E F)
  • Child (E > F)
  • Adjacent Sibling (E + F)
  • General Sibling (E ~ F)

##Attribute Selectors

  • E[attr]
  • E[attr=val] equals
  • E[attr~=val] like
  • E[attr|=val] or
  • E[attr^=val] preffix
  • E[attr$=val] suffix
  • E[attr*=val] contains

Pseudo-Class UI Selectors

  • :enabled
  • :disabled
  • :checked
  • :indeterminate
  • :default
  • :valid
  • :invalid
  • :in-range
  • :out-of-range
  • :required
  • :optional
  • :read-only
  • :read-write

Negation Pseudo-Class Selector

  • tag:not(argument)

Target Pseudo-Class Selector

  • tag:target

Structural Selectors

  • :root
  • :empty
  • :first-child
  • :last-child
  • :first-of-type
  • :last-of-type
  • :only-child
  • :only-of-type

NTH Type Selector

  • :nth-child(n) [n= odd/ even / an+b]
  • :nth-last-child(n)
  • :nth-of-type(n)
  • :nth-last-of-type(n)

Pseudo-Elements

  • ::first-line
  • ::first-letter

Generated Content

  • ::before
  • ::after
    • content
  • ::selection

COLORS

  • RGBA
  • HSL and HSLA
  • Opacity
  • Gradients

WEB FONTS

  • @font-face //fontsquirrel.com
  • Text Shadows
  • Multi-Column
    • column-count
    • column-gap
    • column-width
    • column-rule

FLEXIBLE BOX MODEL

CSS3 Box Model

  • Border Radius
  • Border Images
  • Box Shadows
    • inset

CSS3 BACKGROUNDS

  • background-size
  • background-repeat: round | space
  • Multiple Backgrounds
  • background-origin
  • background-clip

CSS3 TRANSFORMS

  • transform:
    • scale
    • skew
    • rotate
    • translate //westciv.com/tools/transforms
  • transform-origin:

CSS3 TRANSITIONS

  • transition-property:
    • none | all |
  • transition-duration:
    • time
  • trnsition-timing-function:
    • keywords
      • linear
      • ease
      • ease-in
      • ease-out
      • ease-in-out
  • transition-delay:
    • time
  • //shorthand
    • transition: height 1s ease-in .5s;

MEDIA QUERIES

  • width
  • height
  • device-widht
  • device-height
  • orientation
  • aspect-ratio
  • device-aspect-ratio
  • color
  • color-index
  • monochrome
  • resolution
  • scan
  • grid

RESOURCES

css-cheatsheet's People

Contributors

jorsh avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.