skip to Main Content

Html – Flexbox child does not have declared padding

I just can figure out why the right button has not enough padding. <div class="col-span-2 flex gap-0.5 items-center justify-between"> <p>Wie möchten Sie ihre Antwort erhalten?</p> <div class="grid grid-cols-2 gap-1.5"> <div class="whitespace-nowrap rounded bg-black px-4 py-3 text-center leading-none text-white" > E-Mail…

VIEW QUESTION

Html – Fill up empty space in flexbox image gallery

I am have this HTML/CSS gallery using flexbox. @import "https://unpkg.com/open-props"; @import "https://unpkg.com/open-props/normalize.min.css"; :root { --magnifier: 6; --gap: 1vmin; --transition: 0.5s; } .gallery { height: 300px; display: flex; align-items: center; justify-content: center; gap: var(--gap); } .child { transition: flex var(--transition), filter…

VIEW QUESTION

Flex wrap css issue

I have a HTML structure to show primary and secondary information in one row. Until now, the requirement was to show only 3 elements in a row which works perfectly fine. but in a given scenario there are additional 3…

VIEW QUESTION
Back To Top
Search