Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On a desktop the picture is on the left for nutrition game #57

Open
alexfauquette opened this issue Dec 14, 2019 · 0 comments
Open

On a desktop the picture is on the left for nutrition game #57

alexfauquette opened this issue Dec 14, 2019 · 0 comments

Comments

@alexfauquette
Copy link
Member

What

On a desktop, It would be better to see the form next to the product information like that.

off

How

Use div around the product description and the form (corresponding to the red rectangles)

On the parent element, you can use display: flex. Thanks to a breakpoint you can switch between flex-direction: row and flex-direction: column

(for more information on flex property: https://css-tricks.com/snippets/css/a-guide-to-flexbox/ )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant