From f1c9c4c4ff65cd45326c196e834d7cad62509796 Mon Sep 17 00:00:00 2001 From: Maitra Khatri Date: Sun, 30 Jan 2022 20:57:40 +0530 Subject: [PATCH] feat: images and input DONE --- image/image.css | 32 ++++++++++++++++++++ image/image.html | 45 +++++++++++++++++++++++++++ input/input.css | 35 +++++++++++++++++++++ input/input.html | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 191 insertions(+) create mode 100644 image/image.css create mode 100644 image/image.html create mode 100644 input/input.css create mode 100644 input/input.html diff --git a/image/image.css b/image/image.css new file mode 100644 index 0000000..126acc6 --- /dev/null +++ b/image/image.css @@ -0,0 +1,32 @@ +@import url(../style.css); + +.img-res { + width: 100%; + height: auto; +} + +.img-round-250px { + border-radius: 50%; + width: 250px; + height: 250px; + object-fit: cover; +} + +.img-round-150px { + border-radius: 50%; + width: 150px; + height: 150px; + object-fit: cover; +} + +.img-square-250px { + width: 250px; + height: 250px; + object-fit: cover; +} + +.img-square-150px { + width: 150px; + height: 150px; + object-fit: cover; +} \ No newline at end of file diff --git a/image/image.html b/image/image.html new file mode 100644 index 0000000..71395ab --- /dev/null +++ b/image/image.html @@ -0,0 +1,45 @@ + + + + + + + image + + + + +
+ image +
+ +
+ image + image +
+ +
+ image + image +
+ +
+ image + image +
+ + + \ No newline at end of file diff --git a/input/input.css b/input/input.css new file mode 100644 index 0000000..b66dfc4 --- /dev/null +++ b/input/input.css @@ -0,0 +1,35 @@ +@import url(../style.css); + +.input-group { + display: flex; + flex-direction: column; + gap: 1rem; +} + +.input-group input { + padding: .5rem; +} + +.input-group input:focus { + outline: none; +} + +.error { + color: var(--danger); +} + +.warning { + color: var(--warning); +} + +.success { + color: var(--success); +} + +.error input { + border: 1px solid var(--danger); +} + +.msg { + font-size: small; +} \ No newline at end of file diff --git a/input/input.html b/input/input.html new file mode 100644 index 0000000..2574624 --- /dev/null +++ b/input/input.html @@ -0,0 +1,79 @@ + + + + + + + input + + + + + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ +
+ + +
Invalid Username
+
+ +
+ + +
Invalid Password
+
+ +
+ +
+ +
+ + +
Too short. Must be more than 6 characters
+
+ +
+ + +
Weak Password
+
+ +
+ + +
Good to go !!
+
+ +
+ + + \ No newline at end of file