-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c16293
commit b34b29a
Showing
5 changed files
with
96 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Alert Buttons</title> | ||
<style> | ||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
margin: 0; | ||
} | ||
|
||
.button-container { | ||
text-align: center; | ||
} | ||
|
||
.btn { | ||
border: none; | ||
color: white; | ||
padding: 14px 28px; | ||
cursor: pointer; | ||
margin: 5px; | ||
border-radius: 2px; | ||
} | ||
|
||
.success { | ||
background-color: #04AA6D; | ||
} | ||
|
||
.success:hover { | ||
background-color: #46a049; | ||
} | ||
|
||
.info { | ||
background-color: #2196F3; | ||
} | ||
|
||
.info:hover { | ||
background: #0b7dda; | ||
} | ||
|
||
.warning { | ||
background-color: #ff9800; | ||
} | ||
|
||
.warning:hover { | ||
background: #e68a00; | ||
} | ||
|
||
.danger { | ||
background-color: #f44336; | ||
} | ||
|
||
.danger:hover { | ||
background: #da190b; | ||
} | ||
|
||
.default { | ||
background-color: #e7e7e7; | ||
color: black; | ||
} | ||
|
||
.default:hover { | ||
background: #ddd; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="button-container"> | ||
<button class="btn success">Success</button> | ||
<button class="btn info">Info</button> | ||
<button class="btn warning">Warning</button> | ||
<button class="btn danger">Danger</button> | ||
<button class="btn default">Default</button> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Simple Alert Buttons | ||
|
||
Contributed by Aditya Bhate |