Change background-image
to background
.myNewClass {
background: url(http://static4.wikia.nocookie.net/__cb20131121214007/destinypedia/images/7/71/Information_Icon.svg) no-repeat;
background-size:100%;
}
More Related Contents:
- 5 stars and the golden 5 stars are not together (When browsing with Internet explorer)
- How to hide css and js version details from weppalyzer in PHP
- How to make page loaders/animations/transitions
- Auto coloring in text area in html
- Make header and footer files to be included in multiple html pages
- HTML text-overflow ellipsis detection
- How can I let a table’s body scroll but keep its head fixed in place?
- Bootstrap close responsive menu “on click”
- Positioning element at center of screen
- Using jQuery how to get click coordinates on the target element
- Is it possible to dynamically scale text size based on browser width?
- Responsive horizontal page sliding
- Need to find height of hidden div on page (set to display:none)
- How to build simple tabs with jQuery?
- Blur Img’s & Div’s in HTML using CSS
- What are the possible ways to hide an element via CSS [closed]
- Google Maps API v3: InfoWindow not sizing correctly
- What are some good ways to prevent people from copying my source code? [closed]
- Add CSS to with JavaScript?
- how to get the base url in javascript
- Scroll Position of div with “overflow: auto”
- Styling Vuetify selectors
- Placeholder for contenteditable div
- Setting the height of a DIV dynamically
- How do you swap DIVs on mouseover (jQuery)?
- assign color to mouse cursor using CSS
- Center an Image vertically and horizontally using CSS
- Change background on button click, using CSS only? [duplicate]
- Jquery/Javascript Opacity animation with scroll
- Can I save input from form to .txt in HTML, using JAVASCRIPT/jQuery, and then use it?