Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.38 KB

css.md

File metadata and controls

58 lines (43 loc) · 1.38 KB

CSS

Сетка

See: http://flexboxgrid.com/ See: https://css-tricks.com/snippets/css/complete-guide-grid/ See: https://developer.mozilla.org/ru/docs/Web/CSS/CSS_Grid_Layout/Basic_Concepts_of_Grid_Layout

Стандартный стиль для ссылок

a[href]:not([class]) {
  color: #0000FF;
  text-decoration: underline;
}

Стили для поломанныx изображений

See: https://bitsofco.de/styling-broken-images/

Clearfix

.group:before, .group:after { content: " "; display: table; }
.group:after { clear: both; }
.group { zoom: 1; } /* IE 6/7 (trigger hasLayout) */

Hide text

.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
}

@supports

See: https://developer.mozilla.org/ru/docs/Web/CSS/@supports

:lang

See: https://developer.mozilla.org/en-US/docs/Web/CSS/:lang