Blancamaco (Talk | contribs) |
Blancamaco (Talk | contribs) |
||
Line 401: | Line 401: | ||
− | .aparece | + | .aparece { |
− | + | opacity: 0; | |
− | + | transition: opacity 0s ease-in 600ms, opacity 600ms; | |
− | + | position: relative; | |
− | + | } | |
− | + | ||
− | + | ||
− | } | + | |
− | + | aparece:after { | |
− | + | display: block; | |
− | + | content: ''; | |
− | + | position: absolute; | |
− | + | top: 0; | |
+ | right: 0; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | background-color: #fff; | ||
+ | transition: width 600ms; | ||
+ | } | ||
+ | |||
+ | .aparece-hover:hover .aparece { | ||
+ | opacity: 1; | ||
+ | transition: opacity 0s ease-in 600ms, opacity 600ms; | ||
+ | } | ||
+ | |||
+ | .aparece-hover:hover .aparece:after{ | ||
+ | width: 0; | ||
+ | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 16:24, 5 October 2018