diff --git a/components/About/Feature.css b/components/About/Feature.css index bae9e9f4..b113f41e 100644 --- a/components/About/Feature.css +++ b/components/About/Feature.css @@ -4,15 +4,15 @@ margin: 10px; padding: 50px 20px; display: flex; - width: 300px; + width:300px; + height: 200px; flex-direction: column; + position: relative; align-items: center; justify-content: center; cursor: pointer; - box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, - rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, - rgba(0, 0, 0, 0.09) 0px 32px 16px; } + .feature_card_outer { display: flex; gap: 10px; @@ -20,12 +20,67 @@ justify-content: center; margin-bottom: 50px; } + .feature .feature_card .icons { margin-bottom: 20px; font-size: 50px; transition: all 0.3s ease; } +.feature_box{ + width: 100%; + height: 100%; + position: absolute; + border-radius: 5px; + border: 5px solid #fff; + background: #fff; + transition: all .4s ease-in; + transform-style: preserve-3d; + box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, + rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, + rgba(0, 0, 0, 0.09) 0px 32px 16px; +} + +.feature_box:hover{ + border: 5px solid #1857a0; + transform: rotateY(180deg); +} + +.feature_box .card-front { + width: 100%; + height: 100%; + backface-visibility: hidden; + display: flex; + flex-direction: column; + justify-content: center; +} + +.card-back p{ + font-weight: bolder; +} + +.feature .feature_box .card-front *{ + align-self: center; +} + +.feature_box .card-back { + height: 90%; + width: 100%; + background: #fff; + padding: 10px; + margin-top: 10px; + backface-visibility: hidden; + transform: rotateY(180deg); + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + display: flex; + flex-direction: column; + justify-content: center; +} + .feature .feature_card .book { color: #ff6b6b; /* Updated book icon color */ } @@ -129,5 +184,6 @@ @media screen and (max-width: 640px) { .feature_card_outer { align-items: center; + margin: auto; } } diff --git a/components/About/Feature.js b/components/About/Feature.js index 0afca335..fd698f09 100644 --- a/components/About/Feature.js +++ b/components/About/Feature.js @@ -32,45 +32,108 @@ export default function Feature(props) { >
Read Books
+Read Books
+Immerse yourself in captivating stories and thought-provoking ideas from our vast collection of books, spanning genres and cultures.
+Upload Books
+Upload Books
+Share your literary creations with the world. Easily upload and showcase your work on our platform to connect with readers.
+Free of Cost
+Free of Cost
+Enjoy unlimited access to our library of books without any charges. Explore, learn, and expand your horizons at no cost.
+Readers Community
+Readers Community
+Join a vibrant community of fellow book enthusiasts. Connect, discuss, and share your thoughts with like-minded readers.
+Newsletter
+Newsletter
+Stay informed and inspired with our regular newsletter. Get updates on new releases, author interviews, and literary insights
+Reading Challenge
+Reading Challenge
+Embark on exciting reading challenges that push your reading boundaries. Set goals, discover new authors, and win rewards.
+Progress Tracking
+Progress Tracking
+Keep tabs on your reading journey. Track your progress, set milestones, and celebrate your literary accomplishments.
+Read Anytime
+Read Anytime
+Whether it's a quiet morning or a late-night escape, enjoy the freedom to read at your convenience, any time you desire.
+Read Anywhere
+Read Anywhere
+Our platform ensures you can indulge in your favorite reads from the comfort of your home, while traveling, or wherever you go.
+