Hi everyone.
I am struggling to put three vertical images inline (vertically). i am using different ways to do that and i don’t know how to do that. may you help me?
Hi everyone.
I am struggling to put three vertical images inline (vertically). i am using different ways to do that and i don’t know how to do that. may you help me?
I can see some images under your projects.
You can try playing with flexbox. Make the ul a flex container and then flex-direction: column. ie:
section ul {
display: flex;
flex-direction: column;
}
I dont know why but it is not working . it is weird.
maybe that’s why the code is not working!
It works fine in “Chrome”,
Add
section ul { width: 100% }
and
section ul li { display: block; text-align: center;}
Hi, nothing happened. i dont know why. ;/
Can you post what you tried in code here?
i fixed using Sujith3021 code.
ul, li, img{
margin:0;
padding:0;
}
section ul {
width: 100%;
}
section ul li {
display: inline-block;
text-align: center;
}```
It wasn't fixing and when i got the last code tip i forget to close the bracket as well. now it is working.