<details> Is it possible to use flex?

Hi, I am trying to get a <details> tag to work with flex. the target is to have the content on the right side of the summary. I did not find something working and want to ask if there is anyone that can explain why this is not working. thanks in advance
2 Replies
Monimolimnion
Monimolimnion3y ago
You can't change the layout of details elements unfortunately you would have to make a simple Js based custom version
KirK
KirKOP3y ago
Thanks for the information. Than I think I will not use the details tag. In ma case it is not needed. Only I was thinking that it might be better for screen readers to use the details tag.

Did you find this page helpful?