Показать сообщение отдельно
  #4 (permalink)  
Старый 01.12.2014, 06:30
Профессор
Отправить личное сообщение для tsigel Посмотреть профиль Найти все сообщения от tsigel
 
Регистрация: 12.12.2012
Сообщений: 1,398

<html>
<head>
<meta charset="windows-1251" />
<style>
.first{
 background: blue;
 color: white;
 position: absolute;
 top: 10px;
 width: 200px;
 height: 200px;
-webkit-transition: all 1s;
     -moz-transition: all 1s;
     -o-transition: all 1s;
     transition: all 1s;
}
.second{
 opacity: 1;
 background: red;
 color: white;
 position: absolute;
 top: 10px;
 width: 200px;
 height: 200px;
-webkit-transition: all 1s;
-moz-transition: all 1s;
-o-transition: all 1s;
transition: all 1s;
}
a:hover{opacity: 0.1}
</style>
</head>
<body>

<a id="first" class="first">FIRST</a>
<a id="second" class="second"></a>


<script>

</script>
</body>
</html>

Последний раз редактировалось tsigel, 01.12.2014 в 06:35.
Ответить с цитированием