#myElement { background-image: linear-gradient(pink, red); height: 100vh; text-align: center; font: 30px/300px Arial, sans-serif; }