What are you most proud of, and what would you do differently next time?
guys if you can give me some suggestion on when i try to zoom the browser the right side product detail box going down , how can i solve that? and on the mobile devise it;s not good
You have set width: 40% in the .container class, so the card can only occupy 40% of the width and when the screen is reduced, it does not fit, so the right side slides down. Remove width: 40% and instead set e.g. max-width: 600px.
In the body you have set height: 100vh, never set a fixed page height, because if something is too big it will be cut off, instead set min-height: 100vh.
When you set position: absolute; on your button, you should set it's parent to position: relative.
Set .action to position: relative, and then in the button instead of left: 500px; set right: 0;. Also remove left: 265px; from media queries.
This should help. Good luck!
The background behind the image will be cyan and when hover occurs the image will become semi-transparent. You can rename img:first-child and img:last-child to your own class names for better readability.
Made with sass and although not requested has a small animation that when sending the form, the card makes a turn on itself to show the back of the card.
Looks good, I like the animation. I would correct a few things: during the hover, the numbers should be white, because the gray color on the orange background is difficult to see. The submit text could be more centered, I would add padding-top: 4px; to it. And finally, in my opinion, the submit button should be inactive if nothing is selected. Good luck.
also remove position: absolute; from your .bottom-container, and from .top-container.
Do not set fixed page dimensions, but for eg max-width: 1000px;. Happy coding!
On a wider screen the product module is too wide, try to add max-width: 650px to #sell-item,and maybe also remove the margin: 10%; from #sell-item and add to the body:
The only JavaScript I needed for this challenge is to initiate the share options when someone clicks the share icon. My biggest challange was to make the tooltip popup on the right spot compatible every screen size.
To better position this popup, add a .popup class to your css and set it to position:relative;. Then change position: fixed; in your.popup--social class to position: absolute;. Now it will stick with your card. Then you can change bottom, and right in .popup--social for something like bottom: 60px; and right: -120px.