This article mainly introduces how to implement long text shadow in CSS3 LESS, and shares it with you. The details are as follows: question To achieve the following effect Main knowledge points Font shadow in css text-shadowless Loops and merge code in syntax <div class="long-shadow">豮艸芔茻</div> .loop(@counter) when (@counter > 0) { .loop((@counter - 1)); text-shadow+: (1px * @counter) (1px * @counter) #2d585a; } .long-shadow{ overflow: hidden; background-color: #5f9ea0; width:800px; height: 160px; line-height: 160px; text-align: center; letter-spacing: 80px; color: #fff; font-size: 100px; .loop(200); } This is the end of this article about how to implement long shadow of text in less in CSS3. For more relevant content about long shadow of text in less, please search previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! |
<<: Beginner's guide to building a website ⑥: Detailed usage of FlashFXP
>>: About if contains comma expression in JavaScript
Table of contents 1. A simplest server-side examp...
In web page production, input and img are often pl...
[Problem description] On the application side, th...
Install Ubuntu 20.04 Install NVIDIA drivers Confi...
Table of contents Introduction and Demo API: Cont...
Disable right-click menu <body oncontextmenu=s...
The installation tutorial of mysql 8.0.20 winx64....
Suddenly, I needed to build a private service for...
Table of contents 1. typeof operator 2. instanceo...
Preface Sorting is a basic function in databases,...
Required effect: After clicking to send the verif...
1. Rounded Corners Today's web designs are con...
Table of contents Defining the HTML structure Inp...
Table of contents 1. Overview 1. Principle 2. Imp...
Background: I wonder if you have noticed that if ...