Alert Boxes With CSS3

Developer
Size
2,043 Kb
Views
58,696

How do I make an alert boxes with css3?

Created a simple flexible alert boxes found in frameworks like Bootstrap, Foundation etc.... What is a alert boxes with css3? How do you make a alert boxes with css3? This script and codes were developed by Mithicher on 12 August 2022, Friday.

Alert Boxes With CSS3 Previews

Alert Boxes With CSS3 - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Alert Boxes With CSS3</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrap"> <h1>Created by <a href="https://twitter.com/mithicher">@mithicher</a></h1> <h2>Alert Box Without Radius</h2> <!-- Red Color --> <div class="alert alert-error"> Some dummy text here... </div> <!-- Greeb=n Color --> <div class="alert alert-success"> Some dummy text here... </div> <!-- Blue Color --> <div class="alert alert-info"> Some dummy text here... </div> <h2>Alert Box With Radius</h2> <!-- Red Color --> <div class="alert alert-error radius"> Some dummy text here... </div> <!-- Greeb=n Color --> <div class="alert alert-success radius"> Some dummy text here... </div> <!-- Blue Color --> <div class="alert alert-info radius"> Some dummy text here... </div>
</div>
</body>
</html>

Alert Boxes With CSS3 - Script Codes CSS Codes

@import url(http://fonts.googleapis.com/css?family=Lato);
*{ margin:0; padding: 0; box-sizing: border-box; max-width: 900px; margin: 1em auto 2em; font-family: Lato, Arial;
}
.wrap { padding-left: 1.4em; padding-right: 1.4em;
}
h1 { text-align: center; border: 2px solid #ddd; padding: 1em; margin-bottom: 1em;
}
h2 { border-bottom: 1px solid #ddd;
}
a { text-decoration: none; color: #2ecc71;
}
a:hover { color: #27ae60;
}
/* Alert Box CSS */
/* Base Alert Style */
.alert { position: relative; display: block; padding: 1em 1.8em; font-size: 0.9em; font-weight: 300; line-height: 1.2; text-align: left; margin-top: 0.4em; margin-bottom: 0.4em; background: transparent; color: white;
}
/* Error */
.alert-error { background: #e74c3c; border: 1px solid #c0392b;
}
/* Success */
.alert-success { background: #2ecc71; border: 1px solid #27ae60;
}
/* Info */
.alert-info { background: #3498db; border: 1px solid #2980b9;
}
/* Radius */
.radius { border-radius: 3px;
}
Alert Boxes With CSS3 - Script Codes
Alert Boxes With CSS3 - Script Codes
Home Page Home
Developer Mithicher
Username mithicher
Uploaded August 12, 2022
Rating 3
Size 2,043 Kb
Views 58,696
Do you need developer help for Alert Boxes With CSS3?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Mithicher (mithicher) Script Codes
Create amazing art & images with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!