Introduction to web Front-end to Practice: Five Ways to Detail CSS Three-Column Layout
Topic: Assuming the height is known, please write out three columns layout, in which the width of left column and right column are 300 px, and the middle column is adaptive.
Five schemes for three-column layout
This is a classic interview question. ...
Added by fleabel on Tue, 03 Sep 2019 16:21:02 +0300
web crawler, requests request
Requests request is to simulate a browser request with python's requests module and return html source code
There are two types of simulated browser requests, one that does not require user login or authentication, and the other that requires user login or authentication.
1. Requests that do not require user login or authentication
This is a s ...
Added by abduljan on Tue, 27 Aug 2019 00:16:58 +0300
The problem of scrolling faster and faster when messages scroll horizontally in Vue
Recently, when working on a project, two components need to be interacted. One poll gets the message and then passes it to another component for horizontal rolling display. As a result, the rolling speed is faster and faster. Here's a note to remind myself. The code for scrolling messages is at the bottom for easy use next time.
Background: Rec ...
Added by christophe on Thu, 22 Aug 2019 13:10:31 +0300
Mobile Development Knowledge Point 2
1. Adaptive Layout (BFC Trigger)
Left fixed and right adaptive:
.left {
width: 200px;
height: 200px;
background-color: green;
float: left;
}
.right {
height: 300px; ...
Added by shellyrobson on Mon, 19 Aug 2019 15:07:21 +0300
Four ways to create objects
Four ways to create objects
Method 1: Express by object literal scale (also called direct quantity, original method).object literals
Mode two: through new and constructors Object(), String(), and so on.
Mode 3: Initialize a new object with a custom constructor.
Mode 4: through Object.create()
Mode 1: Object literals expressed by object litera ...
Added by Scummy12 on Sat, 03 Aug 2019 08:13:43 +0300
Embedding Web Browser Visual Page in WPF
No matter what kind of C/S technology, it is very cumbersome to involve data visualization. Of course, there must be some gods. They are only for most people or through web pages. Sometimes they don't want to separate the two functions. It's usually the customer's reason. So we plan to embed Web Browser in WPF and then use E-Browser. Charts com ...
Added by thinfile on Wed, 31 Jul 2019 12:20:17 +0300
Front-end application _css_floating characteristics
Before you understand floating, you need to know what a document flow is.
Document flow refers to: boxes are written in the order of html tags from top to bottom, from left to right, block elements occupy one line, and elements in the line are arranged in the order of left to right.
Each box occupies it ...
Added by galvin on Wed, 31 Jul 2019 09:19:02 +0300
Processing Scheme of Asynchronous Request
1.iterator iterator
There are three functions of Iterator: one is to provide a unified and simple access interface for various data structures; the other is to enable members of the data structure to be arranged in a certain order; the third is that ES6 creates a new traversal command for...of lo ...
Added by gmartin1215 on Fri, 26 Jul 2019 11:20:51 +0300
Vue Common Syntax
1. Template Grammar
1. Double brace expression
[Grammar:]
{{exp}}
//Used to enter data to a page, that is, to display data on a page.
[Examples:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initia ...
Added by saad|_d3vil on Fri, 19 Jul 2019 19:40:16 +0300
Basic part of js-BOM
js--BOM
@ (js basic part)The meaning of BOM: BOM (Browser Object Document) is browser object model.
- BOM provides content-independent objects that interact with browser windows.
Because BOM is mainly used to manage the communication between windows, its core object is window.
- BOM consists of a series of related objects, and each object provi ...
Added by tlenker09 on Mon, 15 Jul 2019 22:01:19 +0300