add files
This commit is contained in:
41
template-parts/cell-promo.php
Normal file
41
template-parts/cell-promo.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<!--[cell-promo]-->
|
||||
|
||||
<div class="cell__promo d-none">
|
||||
|
||||
<input class="cell__promo__close" type="checkbox" id="promo__close">
|
||||
<label class="cell__promo__close" for="promo__close">
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<input class="cell__promo__closed" type="checkbox" id="promo__closed">
|
||||
<label class="cell__promo__closed" for="promo__closed">
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<div class="cell__promo__body">
|
||||
|
||||
<div class="ad__close">
|
||||
|
||||
<?php get_template_part("template-parts/ad/revive/sticky-mobile") ?>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="ad__close">
|
||||
|
||||
<?php get_template_part("template-parts/ad/adfox/ad-sticky") ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--[/cell-promo]-->
|
||||
<style>
|
||||
#promo__close:checked ~ .cell__promo__body > .ad__close:first-child {
|
||||
-webkit-animation: remove .5s linear 0s 1 normal forwards;
|
||||
animation: remove .5s linear 0s 1 normal forwards
|
||||
}
|
||||
#promo__closed:checked ~ .cell__promo__body > .ad__close:last-child {
|
||||
-webkit-animation: remove .5s linear 0s 1 normal forwards;
|
||||
animation: remove .5s linear 0s 1 normal forwards
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user