+ 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.

12th Aug 2019, 2:28 PM
Mahesh Muttinti
3 Respuestas
+ 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
12th Aug 2019, 3:41 PM
Calviղ
Calviղ - avatar
+ 4
Very thank you calvin
13th Aug 2019, 12:57 AM
Mahesh Muttinti
- 2
fast
12th Aug 2019, 2:29 PM
Bebida Roja
Bebida Roja - avatar