Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions HTML_with_CSS_in_Header files/Example.HTML
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
div {
margin-bottom: 15px;
padding: 4px 12px;
}

.danger {
background-color: #ffdddd;
border-left: 6px solid #f44336;
}

.success {
background-color: #ddffdd;
border-left: 6px solid #4CAF50;
}

.info {
background-color: #e7f3fe;
border-left: 6px solid #2196F3;
}


.warning {
background-color: #ffffcc;
border-left: 6px solid #ffeb3b;
}
</style>
</head>
<body>

<h2>Notes</h2>
<div class="danger">
<p><strong>Danger!</strong> This example is made by Ishak Hari</p>
</div>

<div class="success">
<p><strong>Success!</strong> This example is made by Ishak Hari</p>
</div>

<div class="info">
<p><strong>Info!</strong> This example is made by Ishak Hari</p>
</div>

<div class="warning">
<p><strong>Warning!</strong> This example is made by Ishak Hari</p>
</div>

</body>
</html>