Category "margin"

Text moves when hovering

Every time I hover over social bar and it gets bigger , headers moves down some pixels. I know it's because of the margin, but I don't know how to fix it. CSS c

Set MaterialAlertDialog horizontal margins

I wrote a custom theme for all my (Material)AlertDialogs and applied it to APP's theme. <style name="MyTheme" parent="Theme.AppCompat.NoActionBar"> &l

Why is there space between the parallelogram-divs?

I've made a few parallelograms in a row like that, but there is some space between them. I want to remove that space. margin-left: -1px; works, but I'm afraid t

Backdrop-filter: blur + box-shadow not rendering properly in Safari

I've tried using the CSS backdrop-filter: blur combined with the box-shadow property but the final result doesn't seem to be rendered properly in Safari. I'm u

Why is there an unexplainable gap between these inline-block div elements? [duplicate]

I have two inline-block div elements, that are the same, positioned next to eachother. However there seems to be a mysterious space of 4 pixel

How to align two divs side by side when one has margin auto

I have a div that has margin: auto so it can float in the center of the page. This page also has a zoom feature that zooms in on that element and I want there t