Overflow is shown mid css3 transition, how can I hide the overflow?
问题 I have the following structure: <div class="service lorange"> <div class="img"></div> <div class="title two-lines"><span>P-Accelerator for Start-Ups</span></div> </div> And the following CSS: .service .img { transition: opacity 300ms; } .service:hover .img { opacity:0 } .service has a rounded border (35px) and overflow: hidden; . This causes the inner .title to have its borders cut-off with its parent's borders (this is the expected behavior). However, during the transition when hovering, and