nth-child   299

« earlier    

Using CSS Mod Queries with Range Selectors
"Patrick Clancey plies a creative use of mod queries and range selectors to change the layout of elements in lists."
fridayfrontend  css  modulo  mod  nth-child  first-child  responsive  mediaqueries 
november 2016 by spaceninja
nth-child vs nth-of-type
In the case of nth-child() and nth-of-type(), the extra information is the element’s position in the document tree in relation to its parent and siblings. Although these two pseudo-classes are very similar, they work in fundamentally different ways.
fridayfrontend  css  nth-child  nth-of-type  selectors 
september 2016 by spaceninja

« earlier    

related tags

3d  :nth-child  :nth  animate  animation  awesome  browsers  calc  calculator  child  code  coding  crazy  css-tricks  css  css3  csstricks  demo  demonstration  design  dev  development  effect  empty  fe-learn  filter  filters  first-child  flexbox  fridayfrontend  generator  grid  grids  hack  howto  ie8  images  javascript  layout  library  lists  mediaqueries  mixin  mixins  mod  modulo  not  nth-of-  nth-of-type  nth-selectors  nth-type-of  nth  nth:child  nthchild  onlinetool  opensrs  polyfill  pseudo-classes  pseudo  quantity  queries  query  range  ranges  reference  resources  responsive  sample  sass  scss  selector  selectors  sitepoint  styles  supports  syntax  tips  tool  tools  transforms  tricks  tutorial  users  video  web  webdesign  webdev 

Copy this bookmark: