$tools, methods, jQuery properties and CSS
1, What exactly is the $symbol? $is the attribute defined for the window object in jQuery
$and jQuery can be interchanged when used. In fact, it is a function, which comes from the jQuery library
jQuery and $are used as an attribute of window window.jQuery = window.$ = jQuery; ...
Added by traffic on Thu, 10 Mar 2022 17:48:49 +0200
Understand the layout of the WEB mobile terminal and learn the layout record through the streaming layout development of JD project 01
Learn the layout of WEB mobile terminal and learn the layout record through the streaming layout development of JD project 01
What is the mobile terminal layout
The so-called mobile terminal layout is through percentage (streaming layout), flex layout, rem layout and responsive layout. In general development, mobile page development is also d ...
Added by barrowvian on Tue, 08 Mar 2022 09:06:50 +0200
if and switch statements of branch statements
Branch statement
if branch statement
1. Decide whether to execute a piece of code according to a concept or a condition
2. Grammatical form
(1) if statement if (conditional) {snippet}
Meaning: when the condition is true, the code segment in {} will be executed, otherwise it will not be executed
var age=16
if (age>=18){
console.log( ...
Added by ebgames56 on Tue, 08 Mar 2022 07:21:05 +0200
CC + + uses cjson library to operate Json format files (create, insert, parse, modify, delete)
Why learn to parse Json files? Work needs!
Recently, in the work project, there is a need to parse Json string, but I only use QT to parse Json, and the supervisor stipulates that C/C + + language should be used to parse. It is said that it is to facilitate transplantation to other projects for use
There's no way but to bite the bullet and fi ...
Added by imperialized on Tue, 08 Mar 2022 03:49:53 +0200
Flex flexible layout with the most detailed and understandable front-end development (including cases)
Flex flexible layout
1. Development history of flex
The W3C put forward the concept in 2009, but the word flex is not officially available. display:box was used at that time; Represents a flexible layout
In 2011, browser manufacturers decided to use flexbox to describe its layout characteristics
In 2015, W3C officially revised it to flexbox ...
Added by djremiasz on Tue, 08 Mar 2022 02:17:42 +0200
Getting started with the front-end css
1. What is CSS?
Cascading StyleSheet, representing standard language
Including font, color, margin, height, width, background picture, web page positioning, web page floating
The < style > tag can write css code. Syntax:
selector{
Statement 1;
Statement 2;
Statement 3;
}
<!DOCTYPE html>
<html lang="en">
<head>
...
Added by Sneo on Tue, 08 Mar 2022 01:36:51 +0200
Revolutionary innovation, animation killer @ scroll timeline
In CSS specification Scroll-linked Animations In, an epoch-making CSS function is introduced. That is -- The @scroll-timeline At rule, literally translated as rolling timeline.This article will take you to find out, from getting started to learning to use CSS @ scroll timeline.What is @ scroll timeline?What is @ scroll timeline?@Scroll timeline ...
Added by konrad on Mon, 07 Mar 2022 04:52:19 +0200
Three ways of realizing transparent grid with CSS
Students who often use photoshop are familiar with the background of such a transparent square. Some are called "chessboard" effect, as followsThis paper introduces three tips for drawing transparent squares with CSS1, Linear gradientLinear gradient can be said to be the first application to realize this effect. Of course, the impleme ...
Added by e_00_3 on Mon, 07 Mar 2022 04:27:32 +0200
Three articles introduction CSS
Catalogue of series articles
Three articles introduction CSS (I) Three articles introduction CSS (II) Three articles introduction CSS (III)
I css inheritance
1. Style inheritance
In the last article, we have learned about css. We know that css is actually a tool for finding corresponding tags and modifying the contents of tags. We h ...
Added by Malcerous on Sat, 05 Mar 2022 03:42:49 +0200
Advanced events - (register / bind events, delete / unbind events, DOM event flow, event object, prevent event bubbling, event delegation, commonly used mouse events and keyboard events)
Task requirements:
1. Registration event (binding event)
1.1 overview of registration events
Adding an event to an element is called a registration event or a binding event. There are two ways to register events: traditional method and event listening registration method.
1.1.1 traditional registration method
Use the event onclick sta ...
Added by greatstar00 on Sat, 05 Mar 2022 03:37:32 +0200