【问题标题】:Can't customise bootstrap-4 css with my own custom css file无法使用我自己的自定义 css 文件自定义 bootstrap-4 css
【发布时间】:2020-12-24 15:34:48
【问题描述】:

这是我的代码,用于将我的两个样式表与自定义 css fie 链接在一起,因为我相信这是这样做的方式。

<!doctype html>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="static/bootstrap-4.0.0-dist/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="static/custom.css">
</head>

查看下图的文件路径

[在此处查看文件位置][1] [1]:https://i.stack.imgur.com/PPKKV.png

我已经尝试了几个小时才能让它工作,我不是一个伟大的编码员,而且我很快就要截止日期了,因为我的 A-Level 的一部分,任何帮助将不胜感激。

【问题讨论】:

    标签: html css flask bootstrap-4 styling


    【解决方案1】:

    更改您的自定义 CSS 文件路径 -

    <link rel="stylesheet" type="text/css" href="static/bootstrap-4.0.0-dist/custom.css">
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-12
      • 2012-01-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多