I created a basic example using Next.js. I attempted to apply CSS but it is not being applied to the anchor tag.
Here is my code: Link to styles.css
a {
color: red;
}
I imported the styles.css file like this:
import "../styles.css";
import Head from "next/head";
import React from "react";
import App from "next/app";
export default class TailwindApp extends App {
render() {
const { Component, pageProps } = this.props;
return (
<>
<Head>
{/* <link href="./a.css" rel="stylesheet" /> */}
</Head>
<Component {...pageProps} />
</>
);
}
}