VOOZH about

URL: https://www.geeksforgeeks.org/css/how-to-create-a-cutout-text-using-html-and-css/

⇱ How to Create a Cutout Text using HTML and CSS ? - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

How to Create a Cutout Text using HTML and CSS ?

Last Updated : 12 Jul, 2025

👁 Image

Cutout text is used as a background header of the webpage. The cutout text creates an attractive look on the webpage. To create a cutout text we will use only HTML and CSS. We display the cutout text and then we make the text blending of an element’s background with the element’s parent. The CSS mix-blend-mode property is required to do that. Divide this article into two sections creating structure and then we will apply CSS on that structure.

Creating Structure: In this section, we will only make the cutout text structure by using HTML.

  • HTML Code:

Designing the Structure: In this section we will apply some CSS property on created cutout text structure. The CSS mix-blend-mode property will play the main role and other things are totally depends on your designing knowledge. 

  • CSS Code:


Final Solution: In this section we will combine the HTML and CSS file together and create a cutout text for the header of webpage. 

Output: 

👁 Image

Comment
Article Tags: