+ 4
Could you help in usage of own css framework?
I have the css link https://raw.githubusercontent.com/Mahesh222/css/master/Simple.css. The above is my simple css file which was created in github repository. when i link that to <link href="https://raw.githubusercontent.com/Mahesh222/css/master/Simple.css" rel="stylesheet" type="text/css"/> Nothing happens. Why? I have check my css file in css validator but it shows no content there. tell me what's wrong with 'https://raw.githubusercontent.com/Mahesh222/css/master/Simple.css'. The Simple.css content is correct when i check with inner content in css validator.
3 Answers
+ 5
Github raw file does not have proper Content-Type defined in body header, hence link tag cannot recognize the raw css file.
Use https://raw.githack.com to convert it.
https://code.sololearn.com/Wofq5eqyFN06/?ref=app
+ 4
Very thank you calvin
- 2
fast