back

Back

Sun

sky

March 7, 2024

Sun - sky Background

How to implement:

With tailwind installed in your project (tutorial), implement these tailwind classes in your parent div where it will reflect the background.


export default function Background() {
  return (
    <section
      className="flex flex-col items-center h-screen"
      style={{
        backgroundImage: `
        radial-gradient(circle at top, #8a5101 35%, #733000 45%, #000 75%)
        `
      }}
    >
      
  {your component / page}
    </section>
  );
}

View background:

Captura de tela de 2024-03-07 14-13-34

Mobile and Desktop:

Macbook-Air-localhost (2) (2)

Note

If this background has served you in any way, consider following me on github or supporting me to continue working at BacksEasy.