Alert Boxes With CSS3
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 - 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;
}
Developer | Mithicher |
Username | mithicher |
Uploaded | August 12, 2022 |
Rating | 3 |
Size | 2,043 Kb |
Views | 58,696 |
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!
Name | Size |
Ghost Buttons with CSS3 | 2,509 Kb |
Card Article UI | 4,211 Kb |
Simple Responsive Navigation Menu | 4,107 Kb |
Material Design Card - For Blog Post Article | 3,417 Kb |
Material Design Lite components demo | 1,910 Kb |
A Pen by Mithicher | 2,456 Kb |
Material Design Form Inputs | 6,097 Kb |
Creating Testimonals With CSS3 | 2,575 Kb |
OffCanvas Navigation Menu | 5,757 Kb |
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!
Name | Username | Size |
HexMaze | Cantelope | 4,825 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Toolbar | Onsen | 5,414 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
RollOver Effect 2 | Lmack90 | 2,162 Kb |
Mandelbrot Fractal | _Billy_Brown | 2,706 Kb |
Bootstrap Responsive Menu Drawer | JesseGlacken | 3,777 Kb |
Sassy Buttons | Elyseholladay | 2,299 Kb |
React TODO | Enieste | 3,320 Kb |
Draggables in pure angular | Rlo206 | 5,167 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!