/
githubmirror
/
brackets
Обзор
Документация
Войти
/
githubmirror
/
brackets
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
samples/cs/Getting Started/main.css
60 строк
1 KB
Marcel Gerber
Add -webkit-filter to @keyframes (without prefix) so newer versions of WebKit browsers are aware of it
17 авг 2016, 13:17
17 авг 2016, 13:17
795abda
Код
Авторство
О чём код?
html { background: #e6e9e9; background-image: linear-gradient(270deg, rgb(230, 233, 233) 0%, rgb(216, 221, 221) 100%); -webkit-font-smoothing: antialiased; } body { background: #fff; box-shadow: 0 0 2px rgba(0, 0, 0, 0.06); color: #545454; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin: 0 auto; max-width: 800px; padding: 2em 2em 4em; } h1, h2, h3, h4, h5, h6 { color: #222; font-weight: 600; line-height: 1.3; } h2 { margin-top: 1.3em; } a { color: #0083e8; } b, strong { font-weight: 600; } samp { display: none; } img { animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1; background: transparent; border: 10px solid rgba(0, 0, 0, 0.12); border-radius: 4px; display: block; margin: 1.3em auto; max-width: 95%; } @keyframes colorize { 0% { -webkit-filter: grayscale(100%); filter: grayscale(100%); } 100% { -webkit-filter: grayscale(0%); filter: grayscale(0%); } }