Junsang Yu• 90
@stupidJoon
Submitted
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.
Looking to hire developers?
@giovanigomez1
@stupidJoon
Submitted
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.
@giovanigomez1
Posted
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.