css with the artifact of css variable, I don't need less and sass anymore

Those who have used sass or less know that they can mainly have nesting, variable and function functions. In fact, they have begun to gradually support in the native CSS. It is true that only you and I know well at present, while others are still in the bud. If you understand CSS variables, you will find that CSS has become extremely powerful. ...

Posted by Calvin770D on Thu, 11 Nov 2021 21:51:36 -0800

Less basic application

introduce Less (short for Leaner Style Sheets) is a backward compatible CSS extension language. Less is very similar to CSS and is easy to learn. Less adds only a few convenient extensions to the CSS language. Less official website (click to jump) install Using Less in the Node.js environment ## download $ npm install -g less ## u ...

Posted by Kisses on Tue, 19 Oct 2021 18:54:40 -0700

How to configure Less, px to reem, antd mobile and routing in TypeScript in React

Create project create-react-app ts3 --template typescript Configure less cnpm install less-loader less --save-dev Find node_ React scripts / config / webpack.config.js under modules The above two lines of code are placed in Click ctrl+f to find the sassModuleRegex and put it on the top of the comment const lessRegex = /\.less$/; const ...

Posted by xmatthawkx on Fri, 17 Sep 2021 20:26:32 -0700

commons-lang3 tool class learning (2)

From http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/ Official documents to organize and remember for yourself 3. BooleanUtils Boolean Tool Class and(boolean...array) logic and BooleanUtils.and(true, true) = true BooleanUtils.and(false, false) = false ...

Posted by Aliz on Fri, 17 Jul 2020 08:53:21 -0700

Android Custom WheelView

function Wheeled Select View, similar to TimePicker or DataPicker, allows you to set whether or not there is a boundary (the beginning and end meet) Design sketch Explain Inherited from View to assist with scrolling with OverScroller, using a minimum API version of 9.If necessary, you can use Scroller instead, w ...

Posted by bobicles2 on Mon, 13 Jul 2020 08:46:00 -0700

Android Custom WheelView

function Wheeled Select View, similar to TimePicker or DataPicker, allows you to set whether or not there is a boundary (the beginning and end meet) Design sketch Explain Inherited from View to assist with scrolling with OverScroller, using a minimum API version of 9.If necessary, you can use Scroller instead, w ...

Posted by Kane250 on Mon, 13 Jul 2020 08:47:24 -0700

Merge sort algorithm implemented in Java

The following is a merge sort algorithm implemented in Java, referencing Algorithms Unlocked by Thomas H. Cormen I read some blogs from other CSDN bloggers, and I think some details can be optimized, such as avoiding overflow due to too long array length, and using mid = low + (high - low) / 2 for mid For example, instead of creating a (high ...

Posted by Loran on Fri, 10 Jul 2020 08:37:44 -0700

offer rotation array

Moving the first elements of an array to the end of an array is called array rotation. Input a rotation of a non decreasing sort array and output the smallest element of the rotated array. For example, if the array {3,4,5,1,2} is a rotation of {1,2,3,4,5}, the minimum value of the array is 1. NOTE: all elements given are greater than 0. If th ...

Posted by Zoofu on Thu, 09 Jul 2020 09:01:58 -0700

js image lazy loading

js image lazy loading Created by Marydon on 2018-04-14 08:15 1. Usage scenarios When a large number of images need to be loaded on the web page, if all the images are loaded at one time, the loading time of the web page will be too long; The web page itself has been very slow. If you need to quote ...

Posted by 182x on Tue, 30 Jun 2020 01:45:14 -0700

VBScript script language foundation

VBScript script language foundation 2.1 introduction of vbs script language 2.2 the first vbs scripting language - hello world Open Notepad program, fill in the edit window, save the file extension as. vbs dialog box: Input box inputbox("please input the length of the first edge", &quo ...

Posted by DJTim666 on Mon, 29 Jun 2020 19:26:57 -0700