It’s like a fench
The wood is HTML
the paint is CSS
Now can you answere if it indeed should go in the CSS? if not try going trough the lessons here one more time :3
I have a wrapper that is 960px width. And i have added 3 boxes inside, but when i display flex on the div containing these 3 boxes they don’t stretch 33.333333333% each… do you know why?
yes but it is a bit hard to explain since it has to do with axis. If you ever had math then you know that when you had a value u had to place it onto an x and an y axis. anyway i posted a link that will help understanding how it works. Do keep in mind that you always can give the boxes an position of absolute :3 to counter other elements images that might be in the way
If you are referring to this pen (when adding back the HTML), then the boxes are evenly divided over 980px minus the border around the container (so they are 318px each and not 320px).
If this is not your question please make a Codepen with some example code.
Thanks for your answers, i finaly got it to work. I called it a day yesterday and this morning it took me 10 minutes to understand flex a bit more, and i know how the menu on top of my image. Thanks a lot for all who answered!!