Skip to content

Instantly share code, notes, and snippets.

@JamoCA
Created February 7, 2014 17:10
Show Gist options
  • Save JamoCA/8867186 to your computer and use it in GitHub Desktop.
Save JamoCA/8867186 to your computer and use it in GitHub Desktop.
CSS to suppress LastPass INPUT styling
// I like LastPass, but the input field styling on repetitive admin forms is distracting and unnecessary.
// This resets the background image, padding and hides the inset LastPass button. (No visible button, but still clickable.)
// <input type="password" name="Password" class="noLastPassStyle">
input.noLastPassStyle {
background-image:none !important;
background-attachment:none !important;
padding-right:0 !important;
border:1px solid #ABADB3 !important;
}
@cmanley
Copy link

cmanley commented Sep 16, 2017

Also, to suppress poorly positioned lastpass icons in print css, then use this:

div[id^=__lpform_] {
	display: none;
}

@mjhorvath
Copy link

I think LastPass also changes the input element's border style.

@stillatmylinux
Copy link

data-lpignore="true"

@Aki1024
Copy link

Aki1024 commented Apr 18, 2025

Just tested data-lpignore="true" and data-lpignore='true' and lp ignored the ignore, remaining displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment