Title : Popbox Spoiler with Blurred Effect
link : Popbox Spoiler with Blurred Effect
Popbox Spoiler with Blurred Effect
Ada tutorial anyar nih sob mengenai tutorial membuat spoiler. Dengan majunya bahasa CSS, maka spoiler dapat dibuatkan dengan attribute CSS doang click CSS input is like spoiler! Tapi spoiler yg baru sekarang ditambahkan sedikit dengan sentuhan jQuery script dan blurred text (text-shadow) Jadi kreasi blurred text spoiler by Adam Dillon pas banget untuk menyembunyikan kata-kata rahasia/terlarang karena ada efek ngeblur gitoooh :D.spoiler {
width: 50%;
margin: 0 auto;
cursor: pointer;
position: relative;
font-size: .9em;
}
.spoiler.on {
color: rgba(0, 0, 0, 0);
text-shadow: 0 0 10px #000;
}
.spoiler.on:before {
content: 'Show Spoiler Text';
position: absolute;
text-shadow: none;
color: #fff;
width: 140px;
height: 28px;
line-height: 28px;
text-align: center;
left: 50%;
top: 50%;
background-color: #233870;
margin-left: -70px;
margin-top: -14px;
}
width: 50%;
margin: 0 auto;
cursor: pointer;
position: relative;
font-size: .9em;
}
.spoiler.on {
color: rgba(0, 0, 0, 0);
text-shadow: 0 0 10px #000;
}
.spoiler.on:before {
content: 'Show Spoiler Text';
position: absolute;
text-shadow: none;
color: #fff;
width: 140px;
height: 28px;
line-height: 28px;
text-align: center;
left: 50%;
top: 50%;
background-color: #233870;
margin-left: -70px;
margin-top: -14px;
}
<div class="spoiler on">
------- ADD YOUR TEXT HERE -------
</div>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function () {
$(document).on('click', '.spoiler', function() {
$(this).removeClass('on');
});
});
//]]>
</script>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Source: codepen.io/asdillon/pen/lGnaL
Sip blurrr :-bd
Thus articles Popbox Spoiler with Blurred Effect
that is all articles Popbox Spoiler with Blurred Effect This time, hopefully can provide benefits to all of you. Okay, see you in another article posting.
You now read the article Popbox Spoiler with Blurred Effect with the link address https://autopostingblogspot.blogspot.com/2014/06/popbox-spoiler-with-blurred-effect.html
0 Response to "Popbox Spoiler with Blurred Effect"
Posting Komentar