Checkbox not clickable

0

I want to leave checkboxes of a specific page of my site visible, but not clickable, where the user can only interact with them after logging in. Is there any CSS solution for this specific situation? Type the .disabled class that exists in the bootstrap for buttons?

    
asked by anonymous 17.10.2016 / 15:56

1 answer

1

Use HTML with the resource disabled .

<form action="">
<input type="checkbox" disabled name="1" value="">Desabilitado<br>
<input type="checkbox" name="2" value="">Habilitado
</form>
    
17.10.2016 / 15:59