CSS drawing parallelogram
There are three methods:
(1) , parent element transform: skewX(-45deg); child element transform: skewX(45deg);
Rendering 1:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Com ...
Posted by Muncey on Tue, 24 Dec 2019 08:19:58 -0800
vue Animation: half court animation by hook function
Be careful:
1. A (0, 0) is set at the starting position, which has no effect on the first execution. After an entrance animation is executed, it stops at the final position and is not at the starting position. Through the setting of the position here, the position at the end of the entrance animation can be adjusted here
2. U ...
Posted by msaspence on Tue, 24 Dec 2019 07:08:55 -0800
axios Network Interaction Application-Vue
Author| Jeskson
Source|Dada Front End Bistro
<template>
<div id="app">
<input type="text" placeholder="name" v-model="user.name">
<input type="text" placeholder="age" v-model="user.age">
<button type="button" class="btn" @click="btn.clickcallback">
{{btn.text}}
</button>
<table class="table">
...
Posted by kumarsatishn on Mon, 23 Dec 2019 18:53:38 -0800
vue mobile top navigation component
Needless to say, here is my own vue mobile top navigation component to share with you, dynamic binding background color, font color, and fallback icon. Take what you need and put it in the project
HTML
<template>
<div class="appraisalTooBar" :style="{background:bgColor, opacity:bgOpacity}">
<div class="lef ...
Posted by dgny06 on Mon, 23 Dec 2019 12:34:35 -0800
A week of Vue proficiency
new Vue (el, data, methods, computed, filters, components, life cycle functions)
el:
Mount page elements
data:
data
methods:
Define Functions
computed:
Calculate Attributes This defines a method but is typically called as a variable
This method loop, which is more efficient than the methods of methods, is called each time and there wil ...
Posted by lindm on Sun, 22 Dec 2019 18:34:53 -0800
vue signal realizes real-time message synchronization between front and back end
##Foreword
Recently, I received a project that requires using websocket to connect. As a result, a. Net signal came. I was responsible for processing the front end. After getting the sample js given by the back end, I started to write the connection of vue.
The main purpose is to realize that the server sends messages to the use ...
Posted by varun_146100 on Sun, 22 Dec 2019 14:23:59 -0800
web file upload and renewal of BeetleX
It is a common function to upload files in web applications, but it is more troublesome to upload large files in the traditional way. After all, once the network is abnormal, it is easy to cause file upload failure and need to start again. This article introduces the web file upload function of BeetleX. Its feature is that it supports disconnec ...
Posted by webgod on Sun, 22 Dec 2019 04:51:07 -0800
BeetleX's Quick Build Web Multi-room Chat Room
In fact, it is not a difficult technology to build a Web multi-room chat room. With the help of websocket s, it is easy to achieve multi-user real-time online communication interaction. Here we mainly introduce how to make this function more simple and efficient with the support of BeetleX and BeetleXjs.Next, I'll walk you through the implement ...
Posted by Azu on Sat, 21 Dec 2019 22:13:34 -0800
css3 -- achieve click ripple effect
Pure css for ripple effectNote: use pseudo element: after to define the ripple effect. At the beginning, opacity is 0, which is invisible to the user. Click and enter the active state. Opacity becomes 0.3, which is not zoomed. transition: 0s. After exiting the active state, it will display again naturally: after the style in t ...
Posted by lpxxfaintxx on Sat, 21 Dec 2019 07:33:13 -0800
Fixed bottom navigation bar of millet Mall (I) of VUE
Fixed bottom navigation bar of millet Mall (I) of VUE
Soon after learning vue, I plan to do a project, record my difficulties while doing it.
The first problem I encountered was the first bottom navigation bar. I didn't want to use position:fixed; bottom: 0. So I made a preliminary contact with flex layout. To learn flex, I ca ...
Posted by Dan The Man on Fri, 20 Dec 2019 12:54:02 -0800