Cutout Text Using CSS

Learn how to create a responsive cutout text with CSS. cutout text is also known as knockout.

Here is a quick example of how you can produce Cutout Effect in CSS.

<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
body {font-family: Arial, Helvetica, sans-serif;}

.image-container {
background-image: url("");
background-size: cover;
position: relative;
height: 300px;

.text {
background-color: white;
color: black;
font-size: 10vw; 
font-weight: bold;
margin: 0 auto;
padding: 10px;
width: 50%;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
mix-blend-mode: screen;

<h2>Responsive Cutout Text Effect</h2>

<div class="image-container">
<div class="text">NATURE</div>

<p><strong>Note:</strong> This example does not work in Internet Explorer or Edge.</p>


Leave a Reply

Your email address will not be published. Required fields are marked *