Membuat Pesan Alert di Postingan Blog

Membuat Pesan Alert di Postingan Blog

Membuat Pesan Alert di Postingan Blog


infoalya.com

Untuk membuat Membuat Pesan Alert di Postingan Blog sahabat dapat menggunakan script dibawah ini.

Letakkan CSS berikut tepat diatas ]]></b:skin> atau </style>
simpan template jika selesai


.info, .success, .warning, .error {
background-repeat: no-repeat;
background-position: 10px center;
border: 1px solid;
margin: 10px 0;
padding: 14px 9px 14px 48px;
}
.info {
color: #0D81E9;
background-color: #C8E9F8;
background-image: url('http://2.bp.blogspot.com/-d2cv8pI-jfM/Ulw6L5EShdI/AAAAAAAAFK4/oFwO7EjbdME/s1600/tbm_info.png');
}
.success {
color: #0D8F07;
background-color: #E5FAC3;
background-image: url('http://2.bp.blogspot.com/-xMBjARKE2dU/Ulw6Lwjm6PI/AAAAAAAAFLA/CIl8ftuS3ho/s1600/tbm_success.png');
}
.warning {
color: #DD8500;
background-color: #EBDCA3;
background-image: url('http://4.bp.blogspot.com/-pZIq9VNFwjU/Ulw6MmosfPI/AAAAAAAAFLQ/EttTXiUCK4w/s1600/tbm_warning.png');
}
.error {
color: #DF000C;
background-color: #F5C8C8;
background-image: url('http://4.bp.blogspot.com/-KG0amzHF73Y/Ulw6LxQOepI/AAAAAAAAFK8/f4fWxfCBVOE/s1600/tbm_error.png');
}

Masukkan kode dibawah ini pada mode HTML di postingan anda

<div class="info">Pesan Informasi</div>
<div class="success">Pesan Sukses</div>
<div class="warning">Pesan Peringatan</div>
<div class="error">Pesan Error</div>

DEMO

Terima Kasih untuk mas Virlyz Nyzam
http://samsury-sites.blogspot.com/2014/01/membuat-pesan-alert-metro-style.html

Share On:

You Might Also Like:

Disqus
Blogger
Pilih Sistem Komentar Yang Disukai

0 Comment

Add Comment

[+] Silahkan tinggalkan komentar
[+] Berkomertarlah dengan santun
[+] Mohon tidak meninggalkan live link
[+] Terima kasih untuk komentar anda

https://infoalya.com

Gunakan konversi tool jika ingin menyertakan kode atau gambar.


image
How to style text in Disqus comments Top Disqus Commentators
  • To write a bold letter please use <strong></strong> or <b></b>.
  • To write a italic letter please use <em></em> or <i></i>.
  • To write a underline letter please use <u></u>.
  • To write a strikethrought letter please use <strike></strike>.
  • To write HTML code, please use <code></code> or <pre></pre> or <pre><code></code></pre>.
    And use parse tool below to easy get the style.
Show Parser Box

How to get ID DISQUS - https://disq.us/p/[ID DISQUS] - lihat di sini

strong em u strike
pre code pre code spoiler
embed

Like Info Alya? Keep us running by whitelisting Info Alya in your ad blocker.

This is how to whitelisting Info Alya in your ad blocker.

Thank you!

×
×
×