Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!---
- UPDATE TAB BY MISTLETOE
- =========================
- notes:
- → if you want to change the font/size,
- change "font:11px poppins;" to your liking
- → icon background color: #fdf5e5
- → icon font being used is honeybee by suiomi
- ↪ http://honeybee.suiomi.com/
- → animate.css by daniel eden
- --->
- <link href="https://fonts.googleapis.com/css?family=Poppins:500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"><link href="//solrainha.github.io/honeybee/honeybee.css" rel="stylesheet"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
- <!-- if the code doesn't work, enable the following line of code by deleting this line and the -- > following the closing script tag
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> -->
- <style type="text/css">
- #updates{position:fixed;z-index:1001;top:10px;left:20px}
- #updates a{text-decoration:none;color:#656565}
- #updates .updatet{display:block;width:15px;height:15px;padding:10px;line-height:15px;font-size:15px;background-color:#fdf5e5;border-radius:100%;margin-top:10px}
- #updates .updatet:hover{-webkit-animation:jello .8s linear}
- #updates .updateu{width:150px;padding:10px;padding-left:20px;border-left:1px dotted #cacaca;font:11px poppins;letter-spacing:1px;text-align:left;margin-top:10px;margin-left:17px;color:#5d5d5d}
- #updates b,#updates u{background-image:-webkit-gradient(linear,left bottom,left top,color-stop(50%,#fdf5e5),color-stop(50%,transparent));background-image:-webkit-linear-gradient(bottom,#fdf5e5 50%,transparent 50%);background-image:linear-gradient(0deg,#fdf5e5 50%,transparent 50%);text-decoration:none}
- #updates i{font-size:13px;color:#212121}
- </style>
- <script type="text/javascript">$(document).ready(function () {
- $('.updateu').hide();
- $('.updatet').click(function () {
- // .parent() selects the A tag, .next() selects the P tag
- $(this).parent().next().slideToggle(400);
- });
- $('.text').slideUp(400);
- });</script>
- <div id="updates"><a href="#"><div class="updatet">
- <!-- tab 1 icon -->
- <span class="th th-holly-o"></span>
- </div></a><div class="updateu">
- <!-- tab 1 content -->
- <b>tab 1</b> crookshanks <i>harry potter</i> prisoner of <u>azkaban</u> mirror of erised
- <!-- end tab 1 content -->
- </div><a href="#"><div class="updatet">
- <!-- tab 2 icon -->
- <span class="th th-blossom-o"></span>
- </div></a><div class="updateu">
- <!-- tab 2 content -->
- <b>tab 2</b> content
- <!-- end tab 2 content -->
- </div><a href="#"><div class="updatet">
- <!-- tab 3 icon -->
- <span class="th th-flower-o"></span>
- </div></a><div class="updateu">
- <!-- tab 3 content -->
- <b>tab 3</b> content
- <!-- end tab 3 content -->
- </div><a href="#"><div class="updatet">
- <!-- tab 4 icon -->
- <span class="th th-mushroom-1-o"></span>
- </div></a><div class="updateu">
- <!-- tab 4 content -->
- <b>tab 4</b> content
- <!-- end tab 4 content -->
- </div>
- </div>
- <!-- END UPDATES TAB -->
Advertisement
Add Comment
Please, Sign In to add comment