[style initialization, hidden element, display:block, visibility, percentage unit, maximum and minimum width and height] 04

15. Floating issue supplement table can also have beautiful appearance in layout, but it has the following disadvantages: Too deep nesting, such as Table > tbody > tr > td > H3, will make it difficult for search engines to read, and the most direct loss is to greatly increase the amount of codePoor flexibility, such as setting ...

Posted by Bean Boy on Mon, 22 Nov 2021 06:27:26 -0800

4 powerful JavaScript operators

1. ?? Non air operator In JS,?? Operators are called non airlift operators. If the first parameter is not null/undefined, the first parameter will be returned, otherwise the second parameter will be returned. For example, null ?? 5 // => 5 3 ?? 5 // => 3 When setting default values for variables, logic or operators were commonly used, ...

Posted by Zaxnyd on Mon, 22 Nov 2021 04:15:43 -0800

Keyboard event, BOM and DOM, window, location, navigator, history object, this pointing problem, JS execution mechanism (event loop)

1.1. Common keyboard events 1.1.1 keyboard events The execution sequence of the three events is keydown – keypress – keyup 1.1.2 keyboard event object use keyCode Property to determine which key the user presses Note: to trigger the focus event, you can use the element object. focus() to directly call the button click eve ...

Posted by buckboru on Mon, 22 Nov 2021 01:56:08 -0800

CSS mask to achieve the effect of mouse following hollowing out

I happened to see such a problem in a thought, How to make part of a div transparent and other parts blurred? Finally, the effect is as followsFurthermore, it can also realize the hollowing effect of any shapeThe place where the mouse passes is clearly visible, and other places are blurred.It may be impossible to start at the beginning. Don't w ...

Posted by jack bro on Sun, 21 Nov 2021 21:34:20 -0800

Create a simple tic tac toe game using HTML, CSS and JavaScript

🌊 Author home page: Hai Yong🌊 About the author: 🏆 CSDN high-quality creators in the whole stack field 🥇 HDZ core group members🌊 Fan benefits: Fan group Six books a week and various small gifts a monthCreating games with JavaScript is the most interesting way to learn. It keeps you motivated, which is crucial to learning complex skills s ...

Posted by wispas on Sun, 21 Nov 2021 19:53:10 -0800

Summary of mathematical statistical confidence intervals

A single normal population Two normal populations three   Interval estimation of (0-1) parameters one   A normal population                           The values here are the upper alpah quantile Parameters to be estimatedOther parametersDistribution of pivot amountBilater ...

Posted by TonyB on Sun, 21 Nov 2021 18:37:18 -0800

Quickly understand the Set and WeakSet of ES6

Before ECMAScript 6, arrays can be used to store values, and ECMAScript 6 adds two collection types: Set and WeakSet.SetSet set can use new to create an empty set:const s = new Set();You can also initialize an instance when creating a Set:const s = new Set(["Xiao Zhao", "Xiao Ming", "Kasumi "]);You can also customize the iterator when initializ ...

Posted by mukunthan on Sun, 21 Nov 2021 18:16:25 -0800

Responsive layout

Responsive Web Design-   Viewport Responsive layout is that a website can be compatible with multiple terminals - rather than making a specific version for each terminal. advantage:   Strong flexibility in the face of different resolution devices It can quickly solve the problem of multi device display adaptation Disadvantages: & ...

Posted by hasjem on Sun, 21 Nov 2021 17:26:58 -0800

Detailed explanation of React project Packaging Optimization

Project packaging and Optimization - Project packaging Objective: to be able to package projects through commands Steps: Open the terminal in the project root directory and enter the packaging command: npm run build Wait until the package is completed, and the packaged content is placed in the build folder under the project root Project p ...

Posted by zman on Sun, 21 Nov 2021 17:06:28 -0800

Front Gateway Trampling Practice

Project BackgroundIn back-end microservices, it is common to expose a unified gateway entry to the outside world, which enables the whole system services to have a unified entry and exit, and converge services. However, the front-end services which provide gateway entries and exits in a unified way are relatively rare, and often each applicatio ...

Posted by 9three on Sun, 21 Nov 2021 10:30:15 -0800