Javaweb---JQuery basics 3

1. Addition, deletion and modification of DOM Internal insertion appendTo(content) a.appendTo(b); Add a to B to the end prependTo(content) a.prependTo(b); Add a to B and add to the front External insertion insertAfter(content) a.insertAfter(b); Insert a after B insertBefore(content) a.insertBefore(b); Insert a in front of B replace replac ...

Posted by JParishy on Thu, 10 Feb 2022 08:39:12 +0100

day05 mobile adaptation: rem, less

1, rem px unit: absolute unit rem unit: relative unit Calculation result of font size relative to HTML tag in rem unit 1rem=1HTML font size (root font size) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewpor ...

Posted by cocpg on Thu, 10 Feb 2022 08:03:20 +0100

Vue implements in situ editing of table cells

Vue implements in situ editing of table cells Here are the notes of Vue beginners. Please avoid the old bird. If you are a warm-hearted elder, we earnestly look forward to your valuable comments. at first There is a small demand. I hope to read excel files through the browser and modify data on the web page. I checked some JS plug-ins ed ...

Posted by sv4rog on Thu, 10 Feb 2022 07:48:40 +0100

Web Components series - create Custom Elements

preface According to the previous introduction, we know that custom elements can be divided into two categories according to whether they inherit basic HTML elements or not“ Autonomouscustom elementsCustomized built-in elements This raises a question: what is the difference between the two in use? Let me try to explain this problem ...

Posted by henkealf on Thu, 10 Feb 2022 00:45:18 +0100

vue common instructions

1. v-text v-text is mainly used to update textContent, which can be equivalent to the text attribute of JS. <span v-text="msg"></span> The two are equivalent: <span>{{msg}}</span> 2. v-html Double curly braces interpret the data as plain text rather than HTML. In order to output real HTML, you can use the v-html ...

Posted by tommyda on Wed, 09 Feb 2022 22:48:11 +0100

CSS3 - Section 2 CSS3 transition and 2D conversion

CSS3 transition and 2D conversion 1.3 transition Using transitions allows you to change the style of an element from one state to another Syntax: transition: The attributes to transition take time. When does the motion curve begin; If there are many attributes that you want to transition, you can use all Motion curve: linear: uniform speed ...

Posted by embsupafly on Wed, 09 Feb 2022 18:35:52 +0100

C1 certification task 3

Learning objectives: 1, Learn to use rich text editor 2, "What you see" development 3, CSS box model Learning content: Task 1: learn to use rich text editor First, we need to start from https://summernote.org/ Enter the rich text editor Enter a paragraph at will, switch to the source mode, and then zoom in Then we write another pa ...

Posted by whiterecluse on Wed, 09 Feb 2022 18:32:16 +0100

Right click to delete the current student data

For a detailed tutorial on the right-click menu bar, please see "making web page right-click menu bar (with mouse attribute)" The layout code is as follows: <!--Right click menu bar dom--> <div class="dom" @*style="display: none;"*@> <ul> <li> <a href="#" style="padd ...

Posted by Drezard on Wed, 09 Feb 2022 16:54:01 +0100

Super full html notes

html learning notes Learning materials https://www.w3school.com.cn/html/index.asp Most commonly used labels Title: < H1 > - < H6 > Paragraph: < p > Link: < a > Image: < img > Horizontal line: < HR / > Blank line / line feed: < br / > Section or area: < div > Intra line block: < s ...

Posted by Dvorak on Wed, 09 Feb 2022 13:11:13 +0100

File upload and file download of spring MVC

1. File upload In web development, there are usually file upload operations The common fileUpload component of Apache organization is used for file upload in general java web development When multipartfile object is used in spring MVC to accept uploaded files, the name of background parameters must be consistent with the name of the file sub ...

Posted by kirk112 on Wed, 09 Feb 2022 09:13:34 +0100