Flipcards when card flip, the background of the text of front, appears on back for some miliseconds

I am facing a strange issue with the bootstrap card and title text overlay on the images on the Front Card.

I applied the flip, and the title has some background color and works fine. But when it flips the background color and the title text appears on the back card for some mili-seconds as shown in the below image:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>.flipbox {
perspective: 1000px;
position: relative;
transform-style: preserve-3d;
z-index: 1;
margin-bottom: 40px;
width: 100%;
}
.flipbox_inner {
position: relative;
width: 100%;
height: 0;
padding-bottom: 100%;
transform-style: preserve-3d;
transition: transform 0.7s ease;
/*0.7s*/
}
.flipbox_font,
.flipbox_back {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
border-radius: 8px;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
transform: rotateX(0);
-webkit-transform: rotateX(0);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
transition: transform 0.7s ease, -webkit-transform 0.7s ease;
/*0.7s*/
}
.flipbox_font {
background: #fff;
transform: rotateY(0deg);
}
.flipbox:hover .flipbox_font {
-webkit-transform: rotateY(180deg);
transform: rotateY(180deg);
}
.flipbox_back {
background: #343a40;
text-align: center;
-webkit-transform: rotateY(180deg);
transform: rotateY(180deg);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.flipbox:hover .flipbox_back {
-webkit-transform: rotateY(0deg);
transform: rotateY(0deg);
}
.flipbox .flipbox_back h3 {
color: #fff;
font-weight: 700;
font-size: 1.25rem;
}
.centered-text-div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 1)/* White background with 30% opacity */
}
@media (min-width: 768px) {
.padyatri_team .col-md-3 {
-ms-flex: 0 0 20%;
flex: 0 0 20%;
max-width: 20%;
}
}
@media only screen and (max-width: 575px) and (min-width: 479px) {
.padyatri_team .col-6 {
-ms-flex: 0 0 33.33%;
flex: 0 0 33.33%;
max-width: 33.33%;
}
}</code>
<code>.flipbox { perspective: 1000px; position: relative; transform-style: preserve-3d; z-index: 1; margin-bottom: 40px; width: 100%; } .flipbox_inner { position: relative; width: 100%; height: 0; padding-bottom: 100%; transform-style: preserve-3d; transition: transform 0.7s ease; /*0.7s*/ } .flipbox_font, .flipbox_back { position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; border-radius: 8px; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: rotateX(0); -webkit-transform: rotateX(0); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: transform 0.7s ease, -webkit-transform 0.7s ease; /*0.7s*/ } .flipbox_font { background: #fff; transform: rotateY(0deg); } .flipbox:hover .flipbox_font { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } .flipbox_back { background: #343a40; text-align: center; -webkit-transform: rotateY(180deg); transform: rotateY(180deg); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } .flipbox:hover .flipbox_back { -webkit-transform: rotateY(0deg); transform: rotateY(0deg); } .flipbox .flipbox_back h3 { color: #fff; font-weight: 700; font-size: 1.25rem; } .centered-text-div { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 255, 255, 1)/* White background with 30% opacity */ } @media (min-width: 768px) { .padyatri_team .col-md-3 { -ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%; } } @media only screen and (max-width: 575px) and (min-width: 479px) { .padyatri_team .col-6 { -ms-flex: 0 0 33.33%; flex: 0 0 33.33%; max-width: 33.33%; } }</code>
.flipbox {
  perspective: 1000px;
  position: relative;
  transform-style: preserve-3d;
  z-index: 1;
  margin-bottom: 40px;
  width: 100%;
}

.flipbox_inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  /*0.7s*/
}

.flipbox_font,
.flipbox_back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: rotateX(0);
  -webkit-transform: rotateX(0);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 0.7s ease, -webkit-transform 0.7s ease;
  /*0.7s*/
}

.flipbox_font {
  background: #fff;
  transform: rotateY(0deg);
}

.flipbox:hover .flipbox_font {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.flipbox_back {
  background: #343a40;
  text-align: center;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flipbox:hover .flipbox_back {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.flipbox .flipbox_back h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.centered-text-div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 1)/* White background with 30% opacity */
}

@media (min-width: 768px) {
  .padyatri_team .col-md-3 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media only screen and (max-width: 575px) and (min-width: 479px) {
  .padyatri_team .col-6 {
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"/>
<section class="team py-5">
<div class="container">
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="flipbox">
<div class="flipbox_inner">
<div class="flipbox_font">
<img src="https://placehold.co/300x300" class="img-fluid" alt="Sample Image">
<div class="centered-text-div">
<h5>some Text</h5>
</div>
</div>
<div class="flipbox_back">
<h3>Text on the Back</h3>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-3">
<div class="flipbox">
<div class="flipbox_inner">
<div class="flipbox_font">
<img src="https://placehold.co/300x300" class="img-fluid" alt="Sample Image">
<div class="centered-text-div">
<h5>some Text</h5>
</div>
</div>
<div class="flipbox_back">
<h3>Text on the Back</h3>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script></code>
<code><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"/> <section class="team py-5"> <div class="container"> <div class="row justify-content-center"> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="flipbox"> <div class="flipbox_inner"> <div class="flipbox_font"> <img src="https://placehold.co/300x300" class="img-fluid" alt="Sample Image"> <div class="centered-text-div"> <h5>some Text</h5> </div> </div> <div class="flipbox_back"> <h3>Text on the Back</h3> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <div class="flipbox"> <div class="flipbox_inner"> <div class="flipbox_font"> <img src="https://placehold.co/300x300" class="img-fluid" alt="Sample Image"> <div class="centered-text-div"> <h5>some Text</h5> </div> </div> <div class="flipbox_back"> <h3>Text on the Back</h3> </div> </div> </div> </div> </div> </div> </section> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script></code>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"/>

<section class="team py-5">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-xs-12 col-sm-6 col-md-3">
        <div class="flipbox">
          <div class="flipbox_inner">
            <div class="flipbox_font">
              <img src="https://placehold.co/300x300" class="img-fluid" alt="Sample Image">
              <div class="centered-text-div">
                <h5>some Text</h5>
              </div>
            </div>
            
            <div class="flipbox_back">
              <h3>Text on the Back</h3>
            </div>
          </div>
        </div>
      </div>

      <div class="col-xs-12 col-sm-6 col-md-3">
        <div class="flipbox">
          <div class="flipbox_inner">
            <div class="flipbox_font">
              <img src="https://placehold.co/300x300" class="img-fluid" alt="Sample Image">
              <div class="centered-text-div">
                <h5>some Text</h5>
              </div>
            </div>
            
            <div class="flipbox_back">
              <h3>Text on the Back</h3>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>

3

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật