Explain Codes LogoExplain Codes Logo

Css

How to prevent the click event using CSS?

css
pointer-events
css-properties
user-experience

How to make a parent div auto size to the width of its children divs

css
responsive-design
best-practices
css-grid

How to line-break from CSS, without using <br />?

css
responsive-design
pseudo-elements
white-space-properties

How to affect other elements when one element is hovered

css
responsive-design
best-practices
transitions

How do I keep two side-by-side div elements the same height?

css
responsive-design
best-practices
flexbox

How can I center a div within another div?

css
responsive-design
best-practices
css-chaos

Changing the cursor to a finger pointer

css
responsive-design
best-practices
performance

Crop text too long inside div

css
responsive-design
best-practices
css-tricks

Allow specific tag to override overflow:hidden

css
responsive-design
best-practices
positioning

Invert CSS font-color depending on background-color

css
responsive-design
best-practices
performance

Css selector by inline style attribute

css
responsive-design
best-practices
css-specificity

What is default list styling (CSS)?

css
responsive-design
best-practices
list-styles

Overflow:hidden dots at the end

css
responsive-design
best-practices
css-pseudo-elements

Is there a srcset equivalent for css background image

css
responsive-design
image-optimization
css-features

Unicode via CSS :before

css
unicode
font-awesome
css-properties

How to center a (background) image within a div?

css
responsive-design
best-practices
css-properties

Can I use a min-height for table, tr, or td?

css
responsive-design
best-practices
performance

Prevent line-break of span element

css
responsive-design
performance
best-practices

Make columns of equal width in ``

css
responsive-design
best-practices
accessibility

:hover but :not on a specific class

css
responsive-design
best-practices
css-variables