diff --git a/Bibek Kumar Meher #3/ABD.webp b/Bibek Kumar Meher #3/ABD.webp new file mode 100644 index 00000000..7e171011 Binary files /dev/null and b/Bibek Kumar Meher #3/ABD.webp differ diff --git a/Bibek Kumar Meher #3/index.html b/Bibek Kumar Meher #3/index.html new file mode 100644 index 00000000..a78f3104 --- /dev/null +++ b/Bibek Kumar Meher #3/index.html @@ -0,0 +1,17 @@ + + + + + + + + Center an image using flexbox + + +
+
+ loading... +
+
+ + diff --git a/Bibek Kumar Meher #3/style.css b/Bibek Kumar Meher #3/style.css new file mode 100644 index 00000000..2831a4a3 --- /dev/null +++ b/Bibek Kumar Meher #3/style.css @@ -0,0 +1,16 @@ +.box { + display: flex; + align-items: center; + justify-content: center; + } + .imgcontainer { + width: 50%; + margin: auto; + } + .imgcontainer img { + display: block; + width: 100%; + max-width: 500px; + height: auto; + margin: auto; + } \ No newline at end of file