Skip to content

Fill background color left to right #12050

Answered by wongjn
TIEverton asked this question in Help
Discussion options

You must be logged in to vote

They are available:

  • background-image: linear-gradient(to right, black 50%, white 50%) can be applied with bg-gradient-to-right from-black from-50% to-white to-50%.
  • background-size: 200% 100% can be applied with bg-[length:200%_100%].
  • background-position: right bottom can be applied as bg-right-bottom.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@TIEverton
Comment options

@wongjn
Comment options

Answer selected by TIEverton
@filipmyllari
Comment options

@andymccray
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants