How to transform background image using CSS3 ? Last Updated : 10 May, 2023 Comments Improve Suggest changes Like Article Like Report In this article we will learn how to transform a background image using CSS3, The transform property in CSS is used to transform the background image. In Approach: The CSS transform property is used to apply the two-dimensional or three-dimensional transformation to an element. The transform property is used to rotate, scale, and skew an element. Syntax: .class_name { transform: value }; Note: Add the overflow: hidden to the parent component with transform property to avoid the overlapping effect. Example: In this example, we are using the above-explained approach. HTML <!DOCTYPE html> <html lang="en"> <head> <style> div.parent { margin-top: 15%; margin-left: 10%; } .child { /* transform image 50 degree */ transform: rotate(50deg); } </style> </head> <body> <div class="parent"> <div> <img src= "gfg_complete_logo_2x-min.png" class="child"> </div> </div> </body> </html> Output: Before transforming the background image: After transforming the background image: Comment More infoAdvertise with us Next Article How to transform background image using CSS3 ? N nikhilchhipa9 Follow Improve Article Tags : Web Technologies CSS CSS-Properties CSS-Questions Similar Reads How to Fit Background Image to Div using CSS? To fit a background image to a div using CSS, you can utilize the background-size property. Here are some approaches:1. Using background-size: cover;This method scales the background image to cover the entire div, maintaining the image's aspect ratio.HTML<html> <head> <style> .back 2 min read How to blur background image using CSS ? CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of a document written in HTML. In this article, we will learn how to blur background images using CSS, along with basic implementation examples. Blurring Background Images with CSSTo blur a background image usi 3 min read How to set multiple background images using CSS? The multiple background images for an element can be put in the HTML page using CSS. Use CSS background property to add multiple background images for an element in any pattern and use other CSS property to set the height and width of the images. The used background property are listed below: backgr 2 min read How to Add filter to the background image using CSS? Adding filters to background images using CSS allows you to apply visual effects like blur, grayscale, brightness adjustment, and more without modifying the actual image file. CSS provides a set of filter functions that can be applied to elements with background images. This approach enhances design 3 min read How to Set background Image using jQuery css() Method ? This article will show you how to set the background image using jQuery. To set the background image, we are using the jQuery css() method. jQuery css() MethodThis method sets/returns one or more style properties for the specified elements. Syntax: Return a CSS property:$(selector).css("propertyname 2 min read Like