我正在尝试让我的CSS在本地再次工作

时间:2019-06-20 19:15:31

标签: html css

我无法在本地渲染CSS。它是以前创建的,我想知道它是否是它在head标签中出现的顺序,或者我只是使用了错误的路径。

我尝试更改顺序和不同的文件路径,包括:

<link rel="stylesheet" href="css/styles.css"> (this one I thought should work but doesn't).
<head>
    <meta charset="utf-8">
    <title>SoundOff</title>
    <!-- Bootstrap -->
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

    <!-- Favicon -->
    <link rel="icon" href="/docs/4.1/assets/img/favicons/favicon.ico">

    <!-- Google Fonts -->
    <link href="https://fonts.googleapis.com/css? 
          family=Poppins:300,900&display=swap" rel="stylesheet">

    <link href="https://fonts.googleapis.com/css? 
          family=Montserrat:900|Ubuntu" rel="stylesheet">

    <!-- <!All fonts-->
    <link href="http://allfont.net/allfont.css?fonts=antonio-bold" 
          rel="stylesheet" type="text/css">

    <!-- CSS -->
    <link href="css/styles.css" rel="stylesheet">

    <!-- Font Awesome -->
    <link rel="stylesheet" 
          href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" 
          integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" 
          crossorigin="anonymous">

    <link rel="canonical" 
          href="https://getbootstrap.com/docs/4.1/examples/sign-in/">

    <!-- Bootstrap core CSS -->
    <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
</head>

0 个答案:

没有答案