you have defined the public dir in app root/public
app.use(express.static(__dirname + '/public'));
so you have to use:
./css/main.css
Related Posts:
- Failed to load resource: the server responded with a status of 404 (Not Found) css
- How to make a monopoly board using css grid?
- Half circle with CSS (border, outline only)
- How to horizontally center an element
- Unblur content inside blurring background div
- Setting table column width
- How to set a border for an HTML div tag
- Setting table column width
- What is difference between png8 and png24
- How to center an iframe horizontally?
- Can I have an onclick effect in CSS?
- How to style a checkbox using CSS
- Creating a nav bar with flexbox
- How to line-break from css, without using
? - How to put img inline with text
- How to center a “position: absolute” element
- CSS Background Image Not Displaying
- How do I make an image smaller with CSS?
- What is sr-only in Bootstrap 3?
- How to place a text next to the picture?
- CSS: Moving the text down a few pixels but keeping the background still?
- How to change text transparency in HTML/CSS?
- Center form submit buttons HTML / CSS
- Bootstrap 4 images thumbnail classes
- AngularJS ngClass conditional
- CSS: Moving the text down a few pixels but keeping the background still?
- How to darken a background using CSS?
- How to use css first-child with :not()
- How to “crop” a rectangular image into a square with CSS?
- Placing border inside of div and not on its edge
- How to apply CSS to iframe?
- How to display and hide a div with CSS?
- Draw a line in a div
- CSS centred header image
- Change Color of Fonts in DIV (CSS)
- Why is “cursor:pointer” effect in CSS not working
- How to move text up using CSS when nothing is working
- How to style input and submit button with CSS?
- a href link for entire div in HTML/CSS
- How do I set vertical space between list items?
- How to outline text in HTML / CSS
- Complete list of reasons why a css file might not be working
- Brackets – Live Preview not working
- How to apply style classes to td elements?
- HTML iframe – disable scroll
- CSS set li indent
- how to overlap two div in css?
- Why does this CSS margin-top style not work?
- How to center content in a Bootstrap column?
- Freeze the top row for an html table only (Fixed Table Header Scrolling)
- HTML list-style-type dash
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery
- How do I install a custom font on an HTML site
- How can I make my footer center to the bottom of the page?
- How to align an input tag to the center without specifying the width?
- How can I embed video for discord directly from website?
- Why would max-width not work on this?
- Basic CSS – how to overlay a DIV with semi-transparent DIV on top
- difference between width auto and width 100 percent
- Making text background transparent but not text itself
- How to show text on image when hovering?
- Square brackets in CSS
- How do I disable form fields using CSS?
- Why write script type=”text/javascript” when the mime type is set by the server?
- Fit background image to div
- body background color not showing?
- Table scroll with HTML and CSS
- Set cellpadding and cellspacing in CSS?
- How to make my website fit any screen size?
- Display:inline not working
- CSS content property: is it possible to insert HTML instead of Text?
- How to increase height of textarea using bootstrap rows and columns
- Indent List in HTML and CSS
- Bootstrap 3 Glyphicons CDN
- Absolute position is not working
- Position absolute but relative to parent
- How do you specify table padding in CSS? ( table, not cell padding )
- Two Divs next to each other, that then stack with responsive change
- How can I change the Bootstrap default font family using font from Google?
- Add stroke around text – on the outside – with css?
- SVG drop shadow using css3
- Force table column widths to always be fixed regardless of contents
- Change the color of glyphicons to blue in some- but not at all places using Bootstrap 2
- Using Numbers With Font Awesome
- Full Page < iframe >
- Change cursor to hand when mouse goes over a row in table
- CSS table td width – fixed, not flexible
- Is it possible to use css to shrink text to automatically fit the size of the div
- How to make Bootstrap Panel body with fixed height
- word-wrap break-word does not work in this example
- Change navbar text color Bootstrap
- Create a slanted edge to a div [duplicate]
- How can I align text directly beneath an image?
- how do I get the bullet points of a
- to center with the text?
- Override USER AGENT STYLE SHEET – Chrome
- jQuery find element by data attribute value
- aking a flex item float right
- CSS: Can a div “float:middle” rather than “float:left;” with margin-left?
- WordPress footer menu floating with height of footer
- Using custom HTML tags to WordPress [closed]