Peking Hackers

Hej!


antonniklasson.se

AntonNiklasson

CSS

.site > .main + #navigation ul li:nth-child(2n + 3) a:visited::before {

  • margin-bottom: 0 !important;
  • clear: both;

}

.selector { property: value; }

Layouts

Tabeller Floats Flexbox

FLEXBOX

See the Pen Flexbox: Responsive Layout by Anton Niklasson (@AntonNiklasson) on CodePen.

.container {

  • display: flex;
  • flex-direction: column;
  • flex-flow: wrap;
  • justify-content: space-between;
  • align-items: center;

}

.item {

  • flex-grow: 1;
  • flex-shrink: 1;
  • flex-basis: 500px;
  • align-self: flex-end
  • order: -1;

}