Abraham Garcia in HTML/CSS Script   Saturday, March 21 2020

How to Change Select2 Box Height

Change Select2 JS Box Height with Simple CSS Snippets

This is a short code snippet on how to change the select2 box height plugin. Simple CSS code. .select2-selection__rendered { line-height: 31px !important; } .select2-container .select2-selection--single { height: 35px !important;

Continue reading
Abraham Garcia in HTML/CSS Script   Thursday, February 13 2020

How to Disable an href HTML CSS

Disable an href when you do not want it to be clicked.

How to disable href for a link.  <style> .disabled { pointer-events: none; cursor: default; } </style> <a href="somelink.html" class="disabled">Some link</a> You can also use JavaScript.  $('.disabled').click(function(e){ e.preventDefault(); })

Continue reading