D
digitalpoint
Guest
This CSS in
Code:
it probably makes more sense for the selector to be a "contains" rather than "ends with" because the .svgz extension is a valid SVG (it simply means it's compressed):
Code:
Either way as it is now, the logo disappears if it's a .svgz image, but doesn't disappear (as expected) if it's .svg
Continue reading...
app_nav.less
causes an SVGZ image to be hidden if the extension is .svgz:Code:
&:not([src$=".svg"])
it probably makes more sense for the selector to be a "contains" rather than "ends with" because the .svgz extension is a valid SVG (it simply means it's compressed):
Code:
&:not([src*=".svg"])
Either way as it is now, the logo disappears if it's a .svgz image, but doesn't disappear (as expected) if it's .svg
Continue reading...