html - Text blurry after super simple CSS3 Transform animation -
as simple is, can't animation work properly.
what animating on hovering div is:
- transform3d(0, xem, 0)
- border
- height
so, nothing special. when open in chrome, i'm getting poorly performing hover animation.
and worst thing the transform 3d makes text blurry. why? there no zoom or 3d effect.
have in browser: click
am missing something? seems quite simple animation.
div before hover

div hovered (blurry text)

the css code (sass) basically:
.disciplines-wrapper > div { color: white; padding: 0; width: 33%; margin-right: .5%; margin-top: 320px; height: 12em; height: 8.375em; cursor: pointer; position: relative; .wrap { height: 8.375em; position: absolute; transition: transform 0.2s ease-out, height 0.2s ease-out, border 0.2s ease-out; border: 1px solid white; overflow: hidden; backface-visibility: hidden; &:hover { transform: translate3d(0, -3.475em, 0); height: 11.875em; border: 1px solid $lightblue; background: $lightblue; } } } the html
<div class="disciplines-wrapper"> <div class="col-1-3"> <div class="wrap"> <div class="disciplines-text-wrapper"> <h1> kreation </h1> <p>effektive werbung entsteht durch das optimale zusammenspiel aller kreativen. </p> </div> <a href="#"><i class="icon-right-circled"></i>weitere informationen</a> </div> </div> <div class="col-1-3"> <div class="wrap"> <div class="disciplines-text-wrapper"> <h1> druck </h1> <p>kernkompetenz von prinovis ist der druck. schnell, hochwertig und flexibel.</p> </div> <a href="#"><i class="icon-right-circled"></i>weitere informationen</a> </div> </div> <div class="col-1-3"> <div class="wrap"> <div class="disciplines-text-wrapper"> <h1> weiterverarbeitung </h1> <p>nach dem druck ist vor der verarbeitung: sammelheftung oder klebebindung</p> </div> <a href="#"><i class="icon-right-circled"></i>weitere informationen</a> </div> </div> </div>
Comments
Post a Comment