Alerts

Developer
Size
2,726 Kb
Views
18,216

How do I make an alerts?

SCSS module for alerts - based on Bootstrap.. What is a alerts? How do you make a alerts? This script and codes were developed by B. on 21 December 2022, Wednesday.

Alerts Previews

Alerts - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Alerts</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .l-constrain { max-width: 60em; margin: 0 auto; padding: 3em 0;
}
.alert { padding: 0.938em; margin-bottom: 1.125em; border: 1px solid transparent; border-radius: 0.25em;
}
.alert--green { background-color: #d8e4d8; border-color: #c5d6c5; color: #3c763d;
}
.alert--green a { color: #336534;
}
.alert--blue { background-color: #d6e2e9; border-color: #c1d4dd; color: #31708f;
}
.alert--blue a { color: #2a617c;
}
.alert--yellow { background-color: #fcf8e3; border-color: #dcd3c4; color: #8a6d3b;
}
.alert--yellow a { color: #785f33;
}
.alert--red { background-color: #eedad9; border-color: #e5c7c6; color: #a94442;
}
.alert--red a { color: #973d3b;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="l-constrain"> <div class="alert alert--green"> <strong>Well done!</strong> You successfully read <a href="#">this important alert message.</a> </div> <div class="alert alert--blue"> <strong>Heads up!</strong> This <a href="#">alert needs your attention</a>, but it's not super important. </div> <div class="alert alert--yellow"> <strong>Warning!</strong> Better check yourself, you're <a href="#">not looking too good.</a> </div> <div class="alert alert--red"> <strong>Oh snap!</strong> <a href="#">Change a few things up</a> and try submitting again. </div>
</div>
</body>
</html>

Alerts - Script Codes CSS Codes

.l-constrain { max-width: 60em; margin: 0 auto; padding: 3em 0;
}
.alert { padding: 0.938em; margin-bottom: 1.125em; border: 1px solid transparent; border-radius: 0.25em;
}
.alert--green { background-color: #d8e4d8; border-color: #c5d6c5; color: #3c763d;
}
.alert--green a { color: #336534;
}
.alert--blue { background-color: #d6e2e9; border-color: #c1d4dd; color: #31708f;
}
.alert--blue a { color: #2a617c;
}
.alert--yellow { background-color: #fcf8e3; border-color: #dcd3c4; color: #8a6d3b;
}
.alert--yellow a { color: #785f33;
}
.alert--red { background-color: #eedad9; border-color: #e5c7c6; color: #a94442;
}
.alert--red a { color: #973d3b;
}
Alerts - Script Codes
Alerts - Script Codes
Home Page Home
Developer B.
Username wearebold
Uploaded December 21, 2022
Rating 3
Size 2,726 Kb
Views 18,216
Do you need developer help for Alerts?

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!

B. (wearebold) Script Codes
Create amazing SEO content 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!