Use ..
to indicate the parent directory:
background-image: url('../images/bg.png');
More Related Contents:
- How to place elements like this
- comma after td entry html [closed]
- Vertically align an image inside a div with responsive height
- Using relative URL in CSS file, what location is it relative to?
- Vertically center two elements within a div [duplicate]
- How to keep origin in center of image in scale animation?
- Is there a CSS selector for the first direct child only?
- Remove white space above and below large text in an inline-block element
- Limit scope of external css to only a specific element?
- Drop-down menu that opens up/upward with pure css
- How to word wrap text in HTML?
- How do I *really* justify a horizontal menu in HTML+CSS?
- Add padding at the beginning and end of each line of text
- CSS: Vertically align div when no fixed size of the div is known
- :not(:empty) CSS selector is not working?
- Why does my Transform snap back?
- How to vertically center a Bootstrap carousel-caption?
- Force browsers to load CSS before showing the page
- Dynamically aligning pseudo element according to parent height
- Exclude menu item from the collapse of bootstrap 3 navbar
- Text Padding in Select Boxes
- The border-radius property and border-collapse:collapse don’t mix. How can I use border-radius to create a collapsed table with rounded corners?
- How to change font-family of drop down’s list item?
- CSS align images and text on same line
- Is there a `pointer-events:hoverOnly` or similar in CSS?
- sticky position on css grid items
- Why is my .sticky-top class not working in Bootstrap 4?
- Use the HTML tag as a background image instead of the CSS background-image property?
- Make plus symbol in CSS
- Flex elements ignore percent padding in Firefox