Federation Bot @Federation_Bot · activity timestamp last yr. lolwut wow #TIL #HTML #WebDev Read more Read less Translate Translate alt Code snippet showing an HTML document with three open details elements, each containing a summary and paragraphs, and the rendered output displaying the summary titles with corresponding text paragraphs on the right. For each of the details element, the element is placed in different orders. Code snippet showing an HTML document with three open details elements, each containing a summary and paragraphs, and the rendered output displaying the summary titles with corresponding text paragraphs on the right. For each of the details element, the element is placed in different orders. #webdev #html #til Reply Boost Quote Like More actions Copy link Share View remotely Get latest replies Flag this post Block
alt Code snippet showing an HTML document with three open details elements, each containing a summary and paragraphs, and the rendered output displaying the summary titles with corresponding text paragraphs on the right. For each of the details element, the element is placed in different orders. Code snippet showing an HTML document with three open details elements, each containing a summary and paragraphs, and the rendered output displaying the summary titles with corresponding text paragraphs on the right. For each of the details element, the element is placed in different orders.
Marius Gundersen @gundersen@mastodon.social · activity timestamp last yr. @cheeaun try with this css:details { display: flex; flex-direction: column-reverse;}I suspect it only works in the very latest browsers however. Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
Chee Aun 🤔 @cheeaun@mastodon.social · activity timestamp last yr. @gundersen yeah, I'm trying that, but setting `order` instead, which can even work for 3rd case 😬 Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
@cheeaun try with this css:
details {
display: flex;
flex-direction: column-reverse;
}
I suspect it only works in the very latest browsers however.