ADMIN 322 Posted February 4, 2016 Member ID: 1 Group: 👑 OWNER ✨ Topic Count: 476 Topics Per Day: 0.08 Content Count: 214,655 Content Per Day: 36.44 Reputation: 322 Days Won: 58 Joined: 03/29/2010 Status: Offline Last Seen: Monday at 03:54 PM Timezone: Asia/Karachi Device: Windows Posted February 4, 2016 Hello, For those who want to leave the warnings of his forum most beautiful and attractive, here have some css boxes: HTML <div class="mbh-success mbh-notification-box">This is the success box</div> <div class="mbh-failure mbh-notification-box">This is the failure box</div> <div class="mbh-warning mbh-notification-box">This is the warning box</div> <div class="mbh-information mbh-notification-box">This is the information box</div> <div class="mbh-question mbh-notification-box">This is the question box</div> <div class="mbh-tip mbh-notification-box">This is the tip box</div> <div class="mbh-notice mbh-notification-box">This is the notice box</div> CSS @import url('//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'); @import url('http://fonts.googleapis.com/css?family=Open+Sans'); .mbh-notification-box { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #ffffff; font-family: 'Open Sans', sans-serif; margin-bottom: 25px; padding: 10px 14px 10px 44px; position: relative; width: -moz-fit-content; width: -webkit-fit-content; width: fit-content; } .mbh-notification-box:before { font-family: FontAwesome; font-size: 21px; left: 14px; position: absolute; } .mbh-success { background-color: #2ecc71; } .mbh-success:before { content: "\f00c"; margin-left: -2px; } .mbh-failure { background-color: #e74c3c; } .mbh-failure:before { content: "\f00d"; } .mbh-warning { background-color: #e67e22; } .mbh-warning:before { content: "\f12a"; margin-left: 5px; } .mbh-information { background-color: #3498db; } .mbh-information:before { content: "\f129"; margin-left: 4px; } .mbh-question { background-color: #f1c40f; } .mbh-question:before { content: "\f128"; margin-left: 2px; } .mbh-tip { background-color: #16a085; } .mbh-tip:before { content: "\f0eb"; margin-left: 2px; } .mbh-notice { background-color: #bea474; } .mbh-notice:before { content: "\f0a1"; margin-left: -1px; } How to use: You just need to enter the text editor and go to his source code and insert one of the <div> tags mentioned above. To insert CSS: Put your css code in a <style> tag. 1 Quote 📚 Discover More Useful Sections on FundayForum 🏠 Portal Homepage 🔥 Latest Activity Wall 🔍 Search Topics & Posts 📜 All Shayari (Urdu / Roman Urdu / English) 🖋️ Famous Urdu Poets Collection 📚 Urdu Adab Literature Section 🍲 Cooking Recipes & Pakwan Zaiqa 👗 Female Fashion Discussions 🏡 Interior Decoration Ideas 😂 Jokes & Riddles Section 👨 Male Gossip Lounge ⚙️ IPS Community Help & Tutorials 🏛️ Historical Articles Blog 📸 Public Gallery Images 🖼️ Poetry Gallery Collection 👋 Welcome & Introductions Thread 📩 Contact Support
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.