Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Examples of notes + CSS styles #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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>