• Perfect ant design dynamic skin changing scheme


    preface Preview address:Ant Design Theme const App = () => { return ( <ThemeProvider theme={{ name: ‘dark’, variables: { ‘primary-color’: ‘#00ff00’ }, }} > <Button type=”primary”>Primary Button</Button> </ThemeProvider> ); }; Out of the boxantd-themeWelcome, star ❤ Defects of existing schemes CSS variables Complex expressions cannot be supportedmix(var(–primary-color), #fff, 20%) Limited browser compatibility Multiple sets of […]

  • Blog Garden Background page dynamic effects


    1. To set animation, you must first apply for permission 1.1 first enter [my blog park] and enter [settings] in [management] 1.2 find [blog sidebar announcement] and click [apply for JS permission] 1.3 write the content of application JS permission (examples are as follows) Dear blog administrator: Can you open JS permission for me? I […]

  • This vs code plug-in is enough for developing react and rax styles


    We through react andRaxDeveloped a large number of front-end applications. When developing JSX files, the development efficiency of page logic is well improved based on code prompt and completion, code fragment, typescript and so on. However, we often ignore the efficiency of style development. I believe you must encounter many inconveniences in the process of […]

  • Front end learning notes (II) introduction to CSS


    After learning the basic content of HTML, I began to contact CSS. I found that bracket is really very convenient. The shortcut key Ctrl + e can open the CSS content of the tag where the cursor is located, which is very convenient for modification. Here are the notes on the basics of CSS (you […]

  • Implementation of special-shaped scrolling with swiper


    essential information Official introduction Swiper is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps. file introduce:  https://swiperjs.com/get-star… API: https://swiperjs.com/api/ Demo: https://swiperjs.com/demos/ Git: https://github.com/nolimits4w… Usage scene – transition effect Rotation chart practice target Implement a […]

  • Complete a column chart with JavaScript without canvas


    preface When it comes to data visualization technology, people inevitably think of itecharts, and the simplest entry chart is the histogram. It is based oncanvasTo achieve it, and I was thinking, if notcanvas, can I notcanvasAfter my exploration, I finally realized a bar chart. Let’s look at a completedOnline example, as shown in the figure […]

  • An adaptive and easy-to-use CSS


    Mainly using CSS max-width:min-content The following code shows <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>Document</title> <style> .box{ width: 100px; } .boxMain{ display: flex; justify-content: space-between; padding: 2px 8px; border: 1px solid #ccc; background-color: aqua; overflow: hidden; color: #fff; width: 100%; max-width: min-content; } .l{ max-width: min-content; /*Overflow is displayed with […]

  • Combination of react Redux and react router4. * in react


    In a react project, you can choose to use it when the project is too large and there are many data interactionsreduxandrouterIs very common. Let me use the presentation form of code as an example: We know that in the practice of react Redux, the outermost layer is the use of render function: import React […]

  • 20 + CSS high frequency practical clips, small skills to improve happiness, you can have Oh


    preface Modify input placeholder style、Multiline text overflow、Hide scroll bar、Modify cursor color、Horizontal vertical center… what a familiar function! Front end children’s shoes will deal with them almost every day. Let’s summarize our CSS happiness clips! Next time you don’t need Baidu or Google, this is your harbor. Click “view source address” to continuously update“ 1. Solve […]

  • Browser principle — preliminary discussion on compiling process


    Original is not easy. If you need to reprint, please [contact the author] or [sign the author and indicate the source of the article] Browser Introduction Browser infrastructureMain components of browserBasic workflow of rendering engine Parsing & DOM tree construction Analysis processCompilation process DEMO 2 + 3 – 1 Lexical analysis:This language can contain integers, […]

  • A preliminary study on asp.net core web API


    This chapter will share with you the web API in asp.net core. 1、 Restful architecture style Rest (representative state transfer) is the state transformation of the presentation layer, which is the design style of an interface. Is a new architectural style (an idea) of Web services. Resources: all things are regarded as resources. useThere are […]

  • Performance optimization Booklet – classified construction: make good use of webpack hash


    With the help of wepackhashThe naming method can not only improve the construction efficiency of our project, but also set it reasonably in the production environmenthashTypes help us cache resources effectively. Webpack hash type When an interviewer asks how many types of hashes are there in webpack? hash-Engineering level If the type of export file […]