how can I "cut" a text from an element? So I would see the background through the text?? Sorry, My english skill don't let me express myself correctly.
I made a JSfiddle and it's the best I can do:
.container-fluid {
background: linear-gradient(to top right, #1abc9c, #3498db);
background-color: #000;
height: 100vh;
width:100%;
}
h1{
border-radius : 18px;
font-size: 60px;
background-color: #FFF;
text-align: center;
}
span{
background: linear-gradient(to top right, #1abc9c, #3498db);
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet"/>
<body>
<div id="demo" class="container-fluid">
<br>
<h1><span id="span">LULU</span></h1>
</div>
</body>