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
The main symptom of the conflict is that the FLASH...
Table of contents Scenario: The server database n...
1. Introduction to Layer 4 Load Balancing What is...
Table of contents verify: Combined with the examp...
Click here to return to the 123WORDPRESS.COM HTML ...
Problem Description When we are working on a proj...
The default varchar type in MySQL is case insensi...
Table of contents 01 Introduction to YAML files Y...
This article discusses the difficulties and ideas...
Table of contents Date Object Creating a Date Obj...
Tomcat server is a free and open source Web appli...
1. Add alternative text to your logo This has two...
Overview I have been using Docker for more than a...
Recently, I have a project that requires using ifr...
Table of contents 2. Tried methods 2.1 keep-alive...