On my landing page i added a box with the product details + price and in the upper right corner i would like to emphasis that it is a discount limited in time. For example, the background of the upper right corner side could be with a background in blue and the text “DISCOUNT until xxx/xxx”. See attached an example.
Give this product box a position of Relative.
Place a new div with desired size, give it a background color and position Absolute at the right upper corner. place some text inside.
Now you can add a Transform of Rotate to that div of 45 degree for the Z.