see_k Posted April 16, 2020 Share Posted April 16, 2020 Hallo Zusammen 1.7.6.4 PHP 7.2 Classic mit Child Ziel ist es die Auswahl Buttons grösser zu machen Problem ich kriege checked (rot) nicht in die Mitte Habt ihr da eine Idee ? .custom-radio { display: inline-block; position: relative; width: 30px; height: 30px; vertical-align: middle; cursor: pointer; border-radius: 50%; border: 2px solid #7a7a7a; background: #fff; margin-right: 1.25rem; } custom-radio input[type=radio]:checked+span { display: block; background-color: #cd0a0a; width: 25px; height: 25px; border-radius: 50%; position: absolute; left: .125rem; top: .125rem; Link to comment Share on other sites More sharing options...
rictools Posted April 16, 2020 Share Posted April 16, 2020 Setze am Ende left und top auf 0 und wähle als width und height eine gerade Zahl um halbe Pixel zu vermeiden. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now