current location:Home > Technical Articles > Web Front-end > H5 Tutorial
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to use vue-cli to build vue project and webpack?
- I have been using Vue for a long time, and I have done some projects, large and small. Recently, I want to summarize the knowledge points and come up with a Vue+webpack series. Let’s start with the project construction-vue-cli. Since it is Vue+webpack, I will not discuss it here. Let’s not go into details about git, the default environment is configured. The first step is to create a folder, here is apronew; the second step is to open git bash in the folder, and then type the command line npm install --global vue-cli to install vue-cl globally.
- H5 Tutorial 3023 2017-06-22 15:30:03
-
- How to draw dotted lines using Canvas
- In the previous chapter, we mentioned that the drawing of linear paths mainly uses methods such as movoTo() and lineTo(). Of course, the Canvas 2D API also provides a dotted line drawing method, CanvasRenderingContext2D.setLineDash(); let’s take a look at the dotted line. Drawing method syntax ctx.setLineDash(segments); Parameter segments: an Array array. A set of descriptions for drawing line segments alternately
- H5 Tutorial 3723 2017-06-22 15:27:56
-
- Front-end implementation of Lianliankan mini-game example code
- The blogger has been playing Lian Lian Kan for so long, and this is the first time he discovered that Lian Lian Kan can only have 2 turns at most. orz... I searched for Lianliankan's connection algorithm judgment on the Internet, but I didn't find a very comprehensive one. After exploring on my own, I drew the following picture (the picture is a bit ugly...) 1. Two objects on the same straight line can be directly connected. (This does not need to be explained) 2. Two objects are on the same straight line, with obstacles in the middle and cannot be directly connected (2 turns) [Loop through the intersection points in the yellow line, such as points A and B, and then determine whether the blue line has no obstacles
- H5 Tutorial 5586 2017-06-22 15:15:59
-
- Use Vue to load on demand to improve user experience
- Vue official documentation asynchronous components: In large applications, we may need to split the application into multiple small modules and download them from the server on demand. To make things easier, Vue.js allows defining a component as a factory function that dynamically resolves the component's definition. Vue.js only triggers the factory function when the component needs to be rendered, and caches the results for subsequent re-rendering. Original image and text from http://www.cnblogs.com/Kummy/p/5254754.htmlvue Loading on demand related
- H5 Tutorial 2315 2017-06-22 15:14:48
-
- How to achieve the slash header effect in a table
- Table, this thing must be familiar to everyone. We often encounter it in the code, so it is sometimes necessary to add a slash header to the table, but how to achieve this effect? I have summarized the following methods: 1. The simplest way Go directly to the company's UI, ask her to make a picture, put it here as a background picture, and then fill it up. Is not it simple! ! ! 2. Quite simple method In fact, friends who know CSS3, when they see this effect, the attribute transform instantly appears in their mind.
- H5 Tutorial 2423 2017-06-21 16:19:04
-
- How to make a rotating 3D box with css3+javascript?
- Today I will write some CSS3, a 3D box written with 3D attributes, and combine it with JavaScript to make the box rotate with the mouse. Today I brought the new css3 attribute 3d <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/c
- H5 Tutorial 3548 2017-06-21 16:12:43
-
- Share form operations and node operations in DOM
- <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Document</title><script type="text/javascript">window.onload = function(){ var input = docu
- H5 Tutorial 1518 2017-06-21 16:10:12
-
- Example of implementation method of ScrollView carousel chart in React Native
- 1.index.Android.js import React, { Component } from 'react'; import { AppRegistry, StyleShee
- H5 Tutorial 2781 2017-06-21 16:07:29
-
- Examples of usage of CSS+HTML5
- 1.HTML5 basics Document type <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" Transitional: transition type Strict: strict type FrameSet: frame type <!DOCTYPE html
- H5 Tutorial 2402 2017-06-21 15:54:01
-
- Introduction to how to use HTML5-canvas
- <canvas> new element The <canvas> element is used for drawing graphics, which is done through scripts (usually JavaScript). The <canvas> tag is just a graphics container, you have to use a script to draw the graphics. You can use Canva in a variety of ways to draw paths, boxes, circles, characters, and add images. Note: By default, the <canvas> element has no borders or content.
- H5 Tutorial 1722 2017-06-21 15:52:14
-
- Flexible box model: Cognition and use of flex box
- Flexible box model layout plan Traditional layout solutions are mostly implemented using div+css+float+position+display, but with the introduction of the flexible box model in CSS3, there is another powerful option in the front-end layout solution. And because I have been studying small programs recently, I found that using flexible box layout in the middle is more effective and more efficient, so I compiled the relevant knowledge points of learning the flexible box model before and shared them with everyone. Introduction to flex layout of flexible box model Flexbox model (flexbox) is also called flexible layout.
- H5 Tutorial 1960 2017-06-21 15:48:15
-
- What are the new tags in html5?
- html5 1. Statement HTML5: The core language of the World Wide Web and the fifth major revision of the HTML specification. HTML5 is the next version of the HTML standard. HTML5 simplifies a lot of subtle syntax, such as doctype declaration, you only need to write <!doctype html> 2. Semantic tags for layout Article: Tag loading displays an independent article content, such as an article, report, or novel. Section: tag defines a section in the document (
- H5 Tutorial 2014 2017-06-21 15:47:34
-
- Experience writing a website using React
- The website is a graduation project. The purpose of developing this website is mainly to record some notes and aggregate some information. It can also be regarded as a quiet place in the online world, where I can practice some technical ideas. The website's front-end was initially developed using Vue. Some time ago, the development progress of the project was no longer so urgent, so I had some free time. And I was still worried about not having used React before, so I just tried it using React.
- H5 Tutorial 3571 2017-06-21 15:24:41
-
- Web Storage Overview and Local Database
- Previous article: HTML5 Notes 2 - Detailed explanation of HTML5 audio/video tags Web Storage Overview In HTML5, in addition to the Canvas element, another very important new feature is the Web Storage function that can save data locally on the client. Previously, Cookies could be used on the client. Simple user information such as usernames are saved, but through long-term use, people have discovered that there are several problems with using Cookies to store permanent data. Size: Cookies are limited in size
- H5 Tutorial 1366 2017-06-21 15:24:03
-
- What are the advantages and disadvantages of Bootstrap?
- What are the advantages and disadvantages of Bootstrap? Bootstrap is a front-end framework for rapid development of web applications and websites, based on HTML, CSS, and JavaScript. The advantages are: mobile devices first, support for mainstream browsers, easy to use, responsive design. Disadvantages: not supporting IE6, heavy use of classes that are not semantic enough, and websites developed using bootstrap are seriously homogenized. Bootstrap provides a responsive, mobile-first fluid grid system that changes with the screen or viewport (view
- H5 Tutorial 6664 2018-10-13 16:02:15