Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Path Reference for CSS file

What does "~" mean in CSS path reference :

<link rel="stylesheet" href="~/css/first.css" />
ASKER CERTIFIED SOLUTION
Avatar of Zakaria Acharki
Zakaria Acharki
Flag of Morocco image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We often see this with @import

prefix ~ at the start of the path is usually for Webpack loader to resolve the import "like a module" from a node module path for example with
normalize.css

As a link alone we usually use dot
<link rel="stylesheet" href="./css/first.css" />

Open in new window