0

There are belive to set background-position X to 0 with flag !important and background position Y without !important?

For example:

background-position-x: 0 !important; background-position-y: 10%;

1 Answers1

0

You may or may not use !important flag with background-position. It is a flag which force that value to rest of the page something like a constant.

<style>
.someClass{
background-position-x: 0 !important; background-position-y: 10%;
}
</style>

This will force background-position X to 0 for the page.

Pankaj Nema
  • 165
  • 2
  • 13