diff --git a/Photo_Gallery/.vscode/settings.json b/Photo_Gallery/.vscode/settings.json new file mode 100644 index 0000000..6f3a291 --- /dev/null +++ b/Photo_Gallery/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/Photo_Gallery/README.md b/Photo_Gallery/README.md new file mode 100644 index 0000000..6ab8831 --- /dev/null +++ b/Photo_Gallery/README.md @@ -0,0 +1,13 @@ +# PHOTO GALLERY +This is a Photo gallery website developed in HTML, CSS and JavaScript. + +# 📝Steps to run +
+- Clone the repo into local machine +- Open the folder with a code editor like VScode +- Run the index.html + + # Snapshot +

+ +

diff --git a/Photo_Gallery/images/gallery.PNG b/Photo_Gallery/images/gallery.PNG new file mode 100644 index 0000000..e382200 Binary files /dev/null and b/Photo_Gallery/images/gallery.PNG differ diff --git a/Photo_Gallery/images/i1.jpg b/Photo_Gallery/images/i1.jpg new file mode 100644 index 0000000..213b5bd Binary files /dev/null and b/Photo_Gallery/images/i1.jpg differ diff --git a/Photo_Gallery/images/i10.jpg b/Photo_Gallery/images/i10.jpg new file mode 100644 index 0000000..92e9b3f Binary files /dev/null and b/Photo_Gallery/images/i10.jpg differ diff --git a/Photo_Gallery/images/i11.jpg b/Photo_Gallery/images/i11.jpg new file mode 100644 index 0000000..6fa6459 Binary files /dev/null and b/Photo_Gallery/images/i11.jpg differ diff --git a/Photo_Gallery/images/i12.jpg b/Photo_Gallery/images/i12.jpg new file mode 100644 index 0000000..aa104ce Binary files /dev/null and b/Photo_Gallery/images/i12.jpg differ diff --git a/Photo_Gallery/images/i13.jpg b/Photo_Gallery/images/i13.jpg new file mode 100644 index 0000000..7d51421 Binary files /dev/null and b/Photo_Gallery/images/i13.jpg differ diff --git a/Photo_Gallery/images/i14.webp b/Photo_Gallery/images/i14.webp new file mode 100644 index 0000000..50fd19d Binary files /dev/null and b/Photo_Gallery/images/i14.webp differ diff --git a/Photo_Gallery/images/i15.webp b/Photo_Gallery/images/i15.webp new file mode 100644 index 0000000..a8c80d9 Binary files /dev/null and b/Photo_Gallery/images/i15.webp differ diff --git a/Photo_Gallery/images/i16.jpg b/Photo_Gallery/images/i16.jpg new file mode 100644 index 0000000..dfdf9db Binary files /dev/null and b/Photo_Gallery/images/i16.jpg differ diff --git a/Photo_Gallery/images/i17.webp b/Photo_Gallery/images/i17.webp new file mode 100644 index 0000000..fc2afea Binary files /dev/null and b/Photo_Gallery/images/i17.webp differ diff --git a/Photo_Gallery/images/i19.jpg b/Photo_Gallery/images/i19.jpg new file mode 100644 index 0000000..2d76b6a Binary files /dev/null and b/Photo_Gallery/images/i19.jpg differ diff --git a/Photo_Gallery/images/i2.jpg b/Photo_Gallery/images/i2.jpg new file mode 100644 index 0000000..0f0676e Binary files /dev/null and b/Photo_Gallery/images/i2.jpg differ diff --git a/Photo_Gallery/images/i20.jpg b/Photo_Gallery/images/i20.jpg new file mode 100644 index 0000000..3f7a6c3 Binary files /dev/null and b/Photo_Gallery/images/i20.jpg differ diff --git a/Photo_Gallery/images/i21.webp b/Photo_Gallery/images/i21.webp new file mode 100644 index 0000000..ad1cb3e Binary files /dev/null and b/Photo_Gallery/images/i21.webp differ diff --git a/Photo_Gallery/images/i22.webp b/Photo_Gallery/images/i22.webp new file mode 100644 index 0000000..692a514 Binary files /dev/null and b/Photo_Gallery/images/i22.webp differ diff --git a/Photo_Gallery/images/i23.jpg b/Photo_Gallery/images/i23.jpg new file mode 100644 index 0000000..96f39fb Binary files /dev/null and b/Photo_Gallery/images/i23.jpg differ diff --git a/Photo_Gallery/images/i24.jpg b/Photo_Gallery/images/i24.jpg new file mode 100644 index 0000000..0d28488 Binary files /dev/null and b/Photo_Gallery/images/i24.jpg differ diff --git a/Photo_Gallery/images/i26.jpg b/Photo_Gallery/images/i26.jpg new file mode 100644 index 0000000..c00b66f Binary files /dev/null and b/Photo_Gallery/images/i26.jpg differ diff --git a/Photo_Gallery/images/i27.jpg b/Photo_Gallery/images/i27.jpg new file mode 100644 index 0000000..917b694 Binary files /dev/null and b/Photo_Gallery/images/i27.jpg differ diff --git a/Photo_Gallery/images/i28.jpg b/Photo_Gallery/images/i28.jpg new file mode 100644 index 0000000..315de31 Binary files /dev/null and b/Photo_Gallery/images/i28.jpg differ diff --git a/Photo_Gallery/images/i29.jpg b/Photo_Gallery/images/i29.jpg new file mode 100644 index 0000000..733b520 Binary files /dev/null and b/Photo_Gallery/images/i29.jpg differ diff --git a/Photo_Gallery/images/i3.jpg b/Photo_Gallery/images/i3.jpg new file mode 100644 index 0000000..e142cbb Binary files /dev/null and b/Photo_Gallery/images/i3.jpg differ diff --git a/Photo_Gallery/images/i30.jpg b/Photo_Gallery/images/i30.jpg new file mode 100644 index 0000000..6b1022f Binary files /dev/null and b/Photo_Gallery/images/i30.jpg differ diff --git a/Photo_Gallery/images/i31.jpg b/Photo_Gallery/images/i31.jpg new file mode 100644 index 0000000..9516bb9 Binary files /dev/null and b/Photo_Gallery/images/i31.jpg differ diff --git a/Photo_Gallery/images/i32.jpg b/Photo_Gallery/images/i32.jpg new file mode 100644 index 0000000..7cdc91b Binary files /dev/null and b/Photo_Gallery/images/i32.jpg differ diff --git a/Photo_Gallery/images/i4.jpg b/Photo_Gallery/images/i4.jpg new file mode 100644 index 0000000..a876a93 Binary files /dev/null and b/Photo_Gallery/images/i4.jpg differ diff --git a/Photo_Gallery/images/i5.jpg b/Photo_Gallery/images/i5.jpg new file mode 100644 index 0000000..df2e488 Binary files /dev/null and b/Photo_Gallery/images/i5.jpg differ diff --git a/Photo_Gallery/images/i6.jpg b/Photo_Gallery/images/i6.jpg new file mode 100644 index 0000000..86da940 Binary files /dev/null and b/Photo_Gallery/images/i6.jpg differ diff --git a/Photo_Gallery/images/i7.jpg b/Photo_Gallery/images/i7.jpg new file mode 100644 index 0000000..5c7e434 Binary files /dev/null and b/Photo_Gallery/images/i7.jpg differ diff --git a/Photo_Gallery/images/i8.webp b/Photo_Gallery/images/i8.webp new file mode 100644 index 0000000..de838be Binary files /dev/null and b/Photo_Gallery/images/i8.webp differ diff --git a/Photo_Gallery/images/i9.jpg b/Photo_Gallery/images/i9.jpg new file mode 100644 index 0000000..db1267a Binary files /dev/null and b/Photo_Gallery/images/i9.jpg differ diff --git a/Photo_Gallery/index.html b/Photo_Gallery/index.html new file mode 100644 index 0000000..504d66c --- /dev/null +++ b/Photo_Gallery/index.html @@ -0,0 +1,172 @@ + + + + + + PHOTO GALLERY + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Photo_Gallery/style.css b/Photo_Gallery/style.css new file mode 100644 index 0000000..8548b4b --- /dev/null +++ b/Photo_Gallery/style.css @@ -0,0 +1,86 @@ +*{ + margin: 0; padding: 0; + box-sizing: border-box; + font-family: Arial, Helvetica, sans-serif; + text-transform: capitalize; + transition:all .2s cubic-bezier(.34,1.12,.68,1.31); + background-image: linear-gradient(to right, rgb(5, 56, 71),rgb(43, 162, 199) ,rgb(84, 146, 165), rgb(184, 201, 211)); +} + +.header { + width: 100%; + height: 100px; + background-color: teal; + text-align: center; + } + h1 { + padding-top: 40px; + font-size: 38px; + font-family: cursive; + color: white; + } + + hr { + width: 40%; + margin-left: auto; + margin-right: auto; + } + +.gallery{ + min-height: 100vh; + + padding-bottom: 100px; +} + +.gallery .controls{ + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + padding:20px 0; + list-style: none; +} + +.gallery .controls .buttons{ + height:40px; + width: 140px; + background:#fff; + color:#666; + font-size: 20px; + line-height: 40px; + cursor: pointer; + margin:20px; + box-shadow: 0 3px 5px rgba(0,0,0,.3); + text-align: center; +} + +.gallery .controls .buttons.active{ + background:coral; + color:#fff; +} + +.gallery .image-container{ + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; +} + +.gallery .image-container .image{ + height:250px; + width: 350px; + overflow: hidden; + border:15px solid #fff; + box-shadow: 0 3px 5px rgba(0,0,0,.3); + margin: 20px; +} + +.gallery .image-container .image img{ + height: 100%; + width:100%; + object-fit: cover; +} + +.gallery .image-container .image:hover img{ + transform: scale(1.4); +} \ No newline at end of file