Skip to content

Instantly share code, notes, and snippets.

@ederrafo
Last active March 10, 2019 18:29
Show Gist options
  • Save ederrafo/ff37dcdd6011b54eb633 to your computer and use it in GitHub Desktop.
Save ederrafo/ff37dcdd6011b54eb633 to your computer and use it in GitHub Desktop.
Todo sobre css

line-height:

img[src=""] { display: none; }

The above selector will simply match, if the src attribute has no value. This selector is a general one and will match all the img tag in the document with an empty src, if you want to target specific ones, than use more specific selector like

.class_name img[src=""] { display: none; }

http://stackoverflow.com/questions/18886708/hide-img-tag-if-src-is-empty-but-without-javascript-jquery-or-css3

/**/ http://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=warning-alert-message http://www.w3schools.com/bootstrap/bootstrap_alerts.asp

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