Posts by Fiel • 92 points
6 posts
-
-1
votes2
answers525
viewsA: Leave options in menu total size
Your CSS should look like this: ul { display:flex; flex-flow: row nowrap; justify-content:space-between; } li { flex-grow:1; /* SE PREFERIR TENTE ISSO TAMBÉM*/ } See an example in:…
-
-1
votes4
answers2082
viewsA: Keep Ivs side by side even if the line runs out
div { display: inline-block; width: 24%; height: 150px; } .a { background: red; } .b { background: yellow; } .c { background: green; } .d { background: blue; } body{ text-align:center; margin:0;…
-
0
votes2
answers5091
viewsA: How to make a simple and responsive horizontal menu?
Take a look at this simple example: http://codepen.io/colombe/pen/YqZKxL?editors=1100 What I advise you is: Do not use px (pixels), use percentages to give size. For text, use EMs. Learn to use…
-
3
votes2
answers3180
views -
2
votes2
answers10158
viewsA: How can I center my form within my div?
The only simple change you should make is this: Instead of DISPLAY:BLOCK type - DISPLAY:FLEX. And nothing else! TRY THAT. IT’S MAGICAL!!!!!!! * { margin: 0; padding: 0; vertical-align: baseline; }…
-
2
votes1
answer158
viewsQ: Simple doubt about for loop
I have 4 images: one image on the other inside a div. It’s on top of each other because it’s in position absolute. I’d like to make a slideshow simple, just to learn its basic functioning within a…