How to change img reference in css
See original GitHub issueI want to change:
.demo{
background: url("../img/demo.jpg");
}
to like:
.demo{
background: url("../img/demo-0317f424c0.jpg");
}
how can I do this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CSS background-image property - W3Schools
The background-image property sets one or more background images for an element. By default, a background-image is placed at the top-left corner of...
Read more >background-image - CSS: Cascading Style Sheets | MDN
The background-image CSS property sets one or more background images on an element.
Read more >How to Add an Image to a CSS File
1. Open your website's stylesheet with your HTML editor or a text editor. · 2. Paste the following code into the sheet to...
Read more >CSS images: url() · WebPlatform Docs
CSS has a variety of different properties that can reference an image file, displaying that file on a web page normally as part...
Read more >Replace the Image in an <img> with CSS
Replace the Image in an <img> with CSS · It works on just about any element, even empty ones like <img> or <hr>...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Use gulp-filter
got it ~ thanks alot