Skip to content
Update About working with CSS in Sandbox authored by Ramses 800's avatar Ramses 800
......@@ -63,11 +63,19 @@ This module makes it possible to modify and test your CSS without having to pres
Each time you press Save in the Custom CSS Rules dialog, your content will be automatically updated.
When you are satisfied with your styling, you can leave it like it is or copy the CSS to the Custom Sandbox World Style Sheet CSS file(as described above)
When you are satisfied with your styling, you can leave it like it is or copy(be aware about file paths, see below) the CSS to the Custom Sandbox World Style Sheet CSS file(as described above)
## About paths to resources(files)
In the example above, the file custom.css is residing in the world *Oneshots*, in a subfolder named *style*.
To use a path to a file in a subfolder to *style* named *images*,
- :house: Data
- :file_folder: worlds
- :file_folder: oneshots
- :file_folder: style
- :page_facing_up: custom.css
- :file_folder: images
- :page_facing_up: bg.jpg
To use a path to a file(named *bg.jpg*) in a subfolder to *style* named *images*, see below.
### Using a CSS-file
When using a CSS-file, any paths to images etc must be relative to where your CSS-file is located
```css
......
......