@stupidJoonSubmitted 11 months ago
Why can't apply display: flex
to details
tag? I wanted to put a gap between summary
and p
tags, but flexbox didn't work, so I gave a margin-top
to the p
tag.
Why can't apply display: flex
to details
tag? I wanted to put a gap between summary
and p
tags, but flexbox didn't work, so I gave a margin-top
to the p
tag.
Hello, it seems like you did not use Html tags that is why you cannot use display: flex, you can use <div class="details"><div/> instead of <details><details/> then select the class .details with css and you will be able to use display flex.