I'm new here and I'm programming in CSS, my problem is this: I can do and put the codes normally in the sublime text, but when it comes to seeing the result in the browser it does not appear. What do I do?
I'm new here and I'm programming in CSS, my problem is this: I can do and put the codes normally in the sublime text, but when it comes to seeing the result in the browser it does not appear. What do I do?
Use the structure below:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Título da página</title>
<link rel="stylesheet" href="CAMINHO_PARA_ARQUIVO.css">
</head>
<body>
</body>
</html>
It works perfectly! All of my web pages are built with this template and I've never had any kind of problem. Just link the css correctly and that's it, all working! : D
Try to look at the developer console if you're using Google Chrome if it's not giving Cross Origin a problem! Generally, chrome blocks external requests for the same page following this same source policy. If you have this problem, try to run the page on a local server (such as: xampp, wamp, lamp, etc) and see if it fixes the problem!