Horje
checkbox before stretching with css Code Example
checkbox before stretching with css
1

In the CSS code in the input[type='checkbox'] {} section, try using min-width: 20px; rather than width: 20px;.

Worked for me in a test implementation with copy/pasted code although I had to set max-width in the properties of the opt-in div to test it.

I don't have a technical explanation but I believe it has something to do with the relative position or the display: flex overriding the specified width/height in pixels.




Css

Related
false Code Example false Code Example
css space between buttons Code Example css space between buttons Code Example
how to fix the html on tablet movement Code Example how to fix the html on tablet movement Code Example
dad Code Example dad Code Example
sweet alert modal form Code Example sweet alert modal form Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9