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
Preface This article mainly introduces the cross-...
In the process of writing HTML, we often define mu...
Scenario Description In a certain system, the fun...
Inline format <colgroup>...</colgroup>...
Table of contents Preface Active withdrawal Excep...
This article example shares the specific code of ...
Limit input box to only pure numbers 1、onkeyup = ...
This article shares the specific method of instal...
MySQL 5.7.18 installation and problem summary. I ...
Installation suggestion : Try not to use .exe for...
Vue+iview menu and tab linkage I am currently dev...
Table of contents 1. Resource download 2. Unzip t...
This article mainly introduces the implementation...
Many times when we process file uploads, such as ...
This article shares the specific code of jQuery t...