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:
app/test/page.jsxexport default function Test() {
return <p style=>
text text text
</p>;
}
Задание 1
Apply an inline style to some tag.