diff --git a/_project_starter_/expanding_cards/index.html b/_project_starter_/expanding_cards/index.html new file mode 100644 index 0000000..164951d --- /dev/null +++ b/_project_starter_/expanding_cards/index.html @@ -0,0 +1,31 @@ + + + + + + + Expanding Cards + + +
+
+

Explore The World

+
+
+

Wild Forest

+
+
+

Sunny Beach

+
+
+

City on Winter

+
+
+

Mountains - Clouds

+
+ +
+ + + + diff --git a/_project_starter_/expanding_cards/script.js b/_project_starter_/expanding_cards/script.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/_project_starter_/expanding_cards/script.js @@ -0,0 +1 @@ + diff --git a/_project_starter_/expanding_cards/style.css b/_project_starter_/expanding_cards/style.css new file mode 100644 index 0000000..a6fe024 --- /dev/null +++ b/_project_starter_/expanding_cards/style.css @@ -0,0 +1,63 @@ +@import url('https://fonts.googleapis.com/css?family=Muli&display=swap'); + +* { + box-sizing: border-box; +} + +body { + font-family: 'Muli', sans-serif; + display: flex; + align-items: center; + justify-content: center; + height: 100vh; + overflow: hidden; + margin: 0; +} + +.container { + display: flex; + width: 90vw; +} + +.panel { + background-size: cover; + background-position: center; + background-repeat: no-repeat; + height: 80vh; + border-radius: 50px; + color: #fff; + cursor: pointer; + flex: 0.5; + margin: 10px; + position: relative; + -webkit-transition: all 700ms ease-in; +} + +.panel h3 { + font-size: 24px; + position: absolute; + bottom: 20px; + left: 20px; + margin: 0; + opacity: 0; +} + +.panel.active { + flex: 5; +} + +.panel.active h3 { + opacity: 1; + transition: opacity 0.3s ease-in 0.4s; +} + +@media (max-width: 480px) { + .container { + width: 100vw; + } + + .panel:nth-of-type(4), + .panel:nth-of-type(5) { + display: none; + } +} diff --git a/_project_starter_/expanding_cards/style_copy0.css b/_project_starter_/expanding_cards/style_copy0.css new file mode 100644 index 0000000..ec80c4b --- /dev/null +++ b/_project_starter_/expanding_cards/style_copy0.css @@ -0,0 +1,16 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); + +* { + box-sizing: border-box; +} + +body { + font-family: 'Roboto', sans-serif; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100vh; + overflow: hidden; + margin: 0; +} diff --git a/goorm.manifest b/goorm.manifest new file mode 100644 index 0000000..16564ed --- /dev/null +++ b/goorm.manifest @@ -0,0 +1 @@ +{"storage":"container","type":"hcj","detailedtype":"default","author":"103410154390742746786_qmfr5_google","name":"50projects50days","description":"50+ mini web projects using HTML, CSS & JS","date":"2022/6/6 20:19:49","plugins":{"goorm.plugin.hcj":[{}]},"is_user_plugin":false,"author_email":"sumeshramdin@gmail.com","author_name":"Sumesh Ramdin","ignore_patterns":[],"project_domain":[{"id":"103410154390742746786_qmfr5_google","url":"projectsdays-bvsvy.run-eu-central1.goorm.io","port":"9090"}],"visibility":2} \ No newline at end of file