About
Pricing
Community
Teams
Start Free Trial
Log in
AXISHK
asked on
12/12/2018
Path Reference for CSS file
What does "~" mean in CSS path reference :
<link rel="stylesheet" href="~/css/first.css" />
CSS
2
1
Last Comment
lenamtl
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Zakaria Acharki
12/12/2018
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
lenamtl
12/12/2018
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" />
Select all
Open in new window
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
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
Open in new window