1.

How to write inline CSS in next js?

Answer»

We have to use the further mentioned SYNTAX configuration to write inline CSS in Next JS.

Example

function HiThere() {

  RETURN <p STYLE={{ color: 'red' }}>HI there</p>;

  }

export default HiThere;



Discussion

No Comment Found