Inline Styles in NextJS
NextJS supports styling via the
style attribute. Such styles
are called inline. Working with them
is done in the same way as
working with inline styles in React.
As an example, let's color a paragraph red:
export default function Test() {
return <p style=>
text text text
</p>;
}
Apply an inline style to some tag.