diff --git a/100_projects/52-filter-image-gallery/css/style.css b/100_projects/52-filter-image-gallery/css/style.css new file mode 100644 index 0000000..06872ad --- /dev/null +++ b/100_projects/52-filter-image-gallery/css/style.css @@ -0,0 +1,63 @@ +*{ + margin: 0; + padding: 0; + box-sizing: border-box; +} +body{ + background: #F5FFFA; +} +section{ + padding: 20px; + margin: 40px auto; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + min-height: 100vh; +} +section ul{ + display: flex; + justify-content: center; + align-items: center; + flex-wrap: wrap; + margin-bottom: 20px; +} +section ul li{ + list-style: none; + text-transform: uppercase; + background: #FFF5EE; + padding: 12px 20px; + margin: 5px; + cursor: pointer; + transition: .3s; +} +section ul li.active, +section ul li:hover{ + color: #fff; + background: #D2B48C; +} +.menu{ + display: flex; + justify-content: center; + align-items: center; + flex-wrap: wrap; +} +section .menu .item{ + position: relative; + width: 200px; + height: 200px; + margin: 5px; + display: block; +} +section .menu .item.hide{ + display: none; +} +section .menu .item img{ + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; +} \ No newline at end of file diff --git a/100_projects/52-filter-image-gallery/img/appetizer.jpg b/100_projects/52-filter-image-gallery/img/appetizer.jpg new file mode 100644 index 0000000..528f43b Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/appetizer.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/appetizer1.jpg b/100_projects/52-filter-image-gallery/img/appetizer1.jpg new file mode 100644 index 0000000..fd508aa Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/appetizer1.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/breakfast.jpg b/100_projects/52-filter-image-gallery/img/breakfast.jpg new file mode 100644 index 0000000..bcb34e2 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/breakfast.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/breakfast2.jpg b/100_projects/52-filter-image-gallery/img/breakfast2.jpg new file mode 100644 index 0000000..06af266 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/breakfast2.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/breakfast3.jpg b/100_projects/52-filter-image-gallery/img/breakfast3.jpg new file mode 100644 index 0000000..87f056b Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/breakfast3.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/breakfast4.jpg b/100_projects/52-filter-image-gallery/img/breakfast4.jpg new file mode 100644 index 0000000..8bf6c26 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/breakfast4.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/breakfast5.jpg b/100_projects/52-filter-image-gallery/img/breakfast5.jpg new file mode 100644 index 0000000..73d294a Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/breakfast5.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/breakfast6.jpg b/100_projects/52-filter-image-gallery/img/breakfast6.jpg new file mode 100644 index 0000000..924ec16 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/breakfast6.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/candies.jpg b/100_projects/52-filter-image-gallery/img/candies.jpg new file mode 100644 index 0000000..1b24493 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/candies.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/candies1.jpg b/100_projects/52-filter-image-gallery/img/candies1.jpg new file mode 100644 index 0000000..25a077f Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/candies1.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/candies2.jpg b/100_projects/52-filter-image-gallery/img/candies2.jpg new file mode 100644 index 0000000..f90d309 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/candies2.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/dinner.jpg b/100_projects/52-filter-image-gallery/img/dinner.jpg new file mode 100644 index 0000000..97ea839 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/dinner.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/dinner1.jpg b/100_projects/52-filter-image-gallery/img/dinner1.jpg new file mode 100644 index 0000000..1e7f3c6 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/dinner1.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/dinner2.jpg b/100_projects/52-filter-image-gallery/img/dinner2.jpg new file mode 100644 index 0000000..09de666 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/dinner2.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/juice.jpg b/100_projects/52-filter-image-gallery/img/juice.jpg new file mode 100644 index 0000000..65e4129 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/juice.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/juice1.jpg b/100_projects/52-filter-image-gallery/img/juice1.jpg new file mode 100644 index 0000000..0932f2d Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/juice1.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/juice2.jpg b/100_projects/52-filter-image-gallery/img/juice2.jpg new file mode 100644 index 0000000..7bdd62f Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/juice2.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/lunch.jpg b/100_projects/52-filter-image-gallery/img/lunch.jpg new file mode 100644 index 0000000..8f7e542 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/lunch.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/lunch1.jpg b/100_projects/52-filter-image-gallery/img/lunch1.jpg new file mode 100644 index 0000000..3e520ef Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/lunch1.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/lunch2.jpg b/100_projects/52-filter-image-gallery/img/lunch2.jpg new file mode 100644 index 0000000..84e07ae Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/lunch2.jpg differ diff --git a/100_projects/52-filter-image-gallery/img/lunch3.jpg b/100_projects/52-filter-image-gallery/img/lunch3.jpg new file mode 100644 index 0000000..ee6e6f7 Binary files /dev/null and b/100_projects/52-filter-image-gallery/img/lunch3.jpg differ diff --git a/100_projects/52-filter-image-gallery/index.html b/100_projects/52-filter-image-gallery/index.html new file mode 100644 index 0000000..489d213 --- /dev/null +++ b/100_projects/52-filter-image-gallery/index.html @@ -0,0 +1,48 @@ + + +
+ + + + +