Skip to content

Instantly share code, notes, and snippets.

@leoneed
Forked from tyv/dabblet.css
Created February 27, 2013 20:35
Show Gist options
  • Save leoneed/5051461 to your computer and use it in GitHub Desktop.
Save leoneed/5051461 to your computer and use it in GitHub Desktop.
Суть модуляций состоит в том,
/*
Суть модуляций состоит в том,
что некоторые заранее
определенные свойства элемента
(цвет, позиционирование и т.д.)
изменяются не резко,
как это обычно бывает
с добавлением класса,
в котором переопределены
текущие свойства элемента,
а плавно, ну или лучше сказать
"контролируемо".
*/
div
{
position: absolution;
width: 200px;
height: 200px;
left: 0px;
background-color: yellow;
transition: background-color 0.3s linear;
}
div:hover
{
left: 10px;
background-color: black;
}
{"view":"separate","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment