aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2019-05-31 17:10:23 +0700
committerKumar Priyansh <[email protected]>2019-05-31 17:10:23 +0700
commite852bd1049cf6c9423400d576c688007eddef7bf (patch)
tree45e156f23a73997ef41bb6ff646a2f77b8f8811d /index.html
parent04aed41edf9ae865c13fc011ea4dcd5618e39a67 (diff)
downloadfirebase-ecommerce-e852bd1049cf6c9423400d576c688007eddef7bf.tar.xz
firebase-ecommerce-e852bd1049cf6c9423400d576c688007eddef7bf.zip
Screen Updated
Diffstat (limited to 'index.html')
-rw-r--r--index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/index.html b/index.html
index 248407c..a9205db 100644
--- a/index.html
+++ b/index.html
@@ -5,8 +5,48 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Firebase ECommerce Solution</title>
+ <style>
+ #snackbar {
+ visibility: hidden;
+ min-width: 250px;
+ background-color: rgb(231, 81, 81);
+ color: #fff;
+ text-align: center;
+ border-radius: 2px;
+ padding: 16px;
+ position: fixed;
+ z-index: 1;
+ top: 30px;
+ right:30px;
+ }
+ #snackbar.show {
+ visibility: visible;
+ -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
+ animation: fadein 0.5s, fadeout 0.5s 2.5s;
+ }
+ @-webkit-keyframes fadein {
+ from {opacity: 0;}
+ to { opacity: 1;}
+ }
+
+ @keyframes fadein {
+ from { opacity: 0;}
+ to { opacity: 1;}
+ }
+
+ @-webkit-keyframes fadeout {
+ from {opacity: 1;}
+ to {opacity: 0;}
+ }
+
+ @keyframes fadeout {
+ from {opacity: 1;}
+ to {opacity: 0;}
+ }
+ </style>
</head>
<body>
+ <div id="snackbar">Some text some message..</div>
<h1>ECommerce Login</h1>
Email: <input type="email" id="email" placeholder="email"><br><br>
Password: <input type="password" placeholder="password" id="password"><br><br>