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
This article shares the specific code of JavaScri...
This is a collection of commonly used but easily ...
Related knowledge points Passing values from pa...
MySQL5.7 master-slave configuration implementatio...
The box model specifies the size of the element b...
Table of contents Preface Summary of audio and vi...
First, before posting! Thanks again to I Want to S...
Use CSS to modify the browser scroll bar style ::...
Written in front In recent years, the live stream...
This article shares the installation tutorial of ...
Table of contents 1. Environment 2. Preparation 3...
This article shares the specific code of js to re...
The so-called favicon, which is the abbreviation o...
This article example shares the application code ...
The project scaffolding built with vue-cli has al...