10 Common CSS Mistakes Developers Often Make
HONGKIAT
JUNE 7, 2023
Instead of this: box { background-color: #000; background-image: url('image.jpg'); background-repeat: no-repeat; background-position: center; } You can write this: box { background: #000 url('image.jpg') no-repeat center; } Shorthand properties can make your CSS much shorter and easier to read and maintain.
Let's personalize your content