1. Introduction to Canvas
Canvas API (canvas) is a new tag in HTML5 for real-time generation of images on web pages, and can manipulate image content, basically it is a bitmap (bitmap) that can be manipulated by JavaScript. The Canvas object represents an HTML canvas element <canvas>. It has no behavior of its own, but defines an API to ...
There are two API s for H5 local storage, one is Web Storage and the other is Web SQL. No matter which one is used, it is based on the JavaScript language. Next, I will teach you how to use H5 local storage. This article is large and there are many JS codes. Please read it patiently.
1, Web Storage tutorial
1. ...
Posted by bweekly on Mon, 22 Aug 2022 03:29:35 +0300
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
preface
Tip: Here you can add the general contents to be recorded in this article:
https://www.bilibili.com/video/BV14J4114768?p=274&spm_id_from=pageDriver
Tip: the following is t ...
Posted by theresandy on Wed, 25 May 2022 05:45:41 +0300
First on the effect map, there are two kinds,
This is to use transform to change the size and zoom
This is to change the size of the text to zoom, which will cause typographic changes
When using transform, you can obviously feel more stuck than when you use changing the size of the text, and the larger the browser window, the more obvious the s ...
Posted by bolter on Mon, 23 May 2022 02:38:34 +0300
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
preface
Tip: Here you can add the general contents to be recorded in this article:
https://www.bilibili.com/video/BV14J4114768?p=61&spm_id_from=pageDriver
Tip: the following is ...
Posted by podarum on Sun, 22 May 2022 04:58:44 +0300
HTML5 new elements
4. HTML5 Drag and Drop (Drag and Drop)
Drag and drop is a common feature where an object is grabbed and then dragged to another location.
The learning of drag and drop (Drag and Drop) is through an example, and each part of the usage of Drag and Drop and its related properties is analyzed in detail. We can study different p ...
Posted by edawg on Thu, 19 May 2022 04:34:04 +0300
Mobile terminal adaptation scheme
Adaptation scheme of mobile terminal:
flex + rem units have the most adaptation effects (such as Taobao and Xiaomi mobile terminals) in the current marketflex + viewport width /vh unit is a new trend for adaptation effect (such as mobile terminal of station B)
Let flex make the layout (box placement), and ...
Posted by Immyphp on Tue, 17 May 2022 02:15:26 +0300
Some recent tossing insights.
Personal blog things
In fact, I started the construction of personal blog website from a very early time, which initially benefited from GitHub Opening of IO domain names. In general, the history of building my blog is mainly divided into three stages.
Phase I
The first stage belongs to simplicity supremacy. Us ...
Posted by ngu_tri on Mon, 16 May 2022 15:58:17 +0300
1, Introduction
WebRTC concept
WebRTC is led by Google and consists of a set of standards, protocols and JavaScript APIs, which are used to share audio, video and data between browsers (end-to-end). WebRTC does not need to install any plug-ins, and real-time communication can become a standard function through a simple JavaScript API.
Why webrt ...
Posted by gere06 on Mon, 16 May 2022 08:06:09 +0300