Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Update About working with CSS in Sandbox
authored
Jun 30, 2022
by
Ramses 800
Hide whitespace changes
Inline
Side-by-side
How-to/CSS/About-working-with-CSS-in-Sandbox.md
View page @
84e3b105
...
...
@@ -68,6 +68,11 @@ When you are satisfied with your styling, you can leave it like it is or copy th
## Note that when using a CSS-file, any paths to images etc must be relative to where your CSS-file is located
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*
,
### Using a CSS-file
```
css
background-image
:
url
(
"images/bg.jpg"
);
```
\ No newline at end of file
```
### Using Custom CSS module
```
css
background-image
:
url
(
"world/oneshots/style/images/bg.jpg"
);
```