Skip to content

Overriding bootstrap styles #1611

@joewoodhouse

Description

@joewoodhouse

Hi guys,

This is probably a very stupid question, but ...

I've imported bootstrap into my create-react-app project as per the documentation (very nice).

However when I look at the generated markup, all the <style> tags for my components e.g. Header.css come before the bootstrap css, which means I can't (easily) override bootstraps default styling.

Is there a way to ensure bootstrap gets put before other css files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions