Web: the layout of the header and footer of the home page of the mobile mall and the three properties of the flex project
Layout of header and footer of home page of mobile mall
Let's first demonstrate the three properties of the flex project 1. The scaling scale of the project and the base width
elementattributemeaningflex0 1 auto / initialBy default, it is forbidden to enlarge, allowed to shrink, and the width is automaticallyflex1 1 auto / autoAllow zooming i ...
Posted by geebo on Mon, 31 Jan 2022 07:50:44 +0100
CSS font styles
Font style properties
1, Font type
Font family can specify multiple fonts. When using multiple fonts, they will be arranged from left to right and separated by English commas', '.
1. Set a font
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content=" ...
Posted by mybluehair on Sun, 30 Jan 2022 21:27:45 +0100
Understanding BOM and DOM from browser architecture
Browser architectureJavaScript runs in the browser, BOM is the bridge between JavaScript code and browser, and DOM is used to operate various tag elements.BOM includes window, history, location, documentDOM includes Document (whole Document), Element (label Element), CharacterData (character data) and Attr (attribute), which can be further divi ...
Posted by lorddraco98 on Sun, 30 Jan 2022 18:00:21 +0100
js basic knowledge summary
catalogue
1, Data type
1. Forced conversion type:
2, Operator
Unary operator:
Self increasing and self decreasing:
Logical operators:
Assignment operator:
Relational operators:
Equality operator:
Conditional operator:
Process control statement:
3, Object
Function:
Prototype object:
Array
Date:
Math object:
...
Posted by PHPLRNR on Sun, 30 Jan 2022 12:12:20 +0100
Cutting exercise notes
Cutting exercise notes (II)
Target
Step 1.
Basic structure and content
<body>
<div class="wrap">
<div class="item">
<img src="https://picsum.photos/500/400/?random=1">
<div class="txt">
<h2>Goldfish can understand how to cut this web page picture : I ...
Posted by noeffred on Sun, 30 Jan 2022 11:49:29 +0100
Common HTML Tags:
Common labels:
1. Title label h1-h6 (important)
In order to make web pages more semantic, we often use title tags in pages. HTML provides six levels of web page titles, namely h1-h6.
<h1>This is the first level title</h1>
Abbreviation for the word head, meaning head and title.
Label semantics:
Used as a title and diminishing ...
Posted by Heatmizer20 on Sun, 30 Jan 2022 09:38:15 +0100
[Web three piece set] 20000 words to get you started CSS
1. Basic introduction to CSS
1.1 understanding CSS
CSS(Cascading Style Sheets):
CSS, or cascading style sheet, is a computer language used to represent file styles such as HTML (an application of Standard General Markup Language) or XML (a subset of Standard General Markup Language). CSS can not only modify the web page statically, but ...
Posted by etully on Sun, 30 Jan 2022 06:50:31 +0100
2021-06-05 - Analysis of CSRF and XSS
Analysis of CSRF and XSS
preface
Bloggers recently had an interview and encountered a question: * * What are the principles of CSRF and XSS? How to prevent CSRF and XSS** Because the blogger didn't understand this part deeply enough, the answer in the interview was not comprehensive enough. Today, let's discuss the mystery behind CSRF and X ...
Posted by dazz_club on Sun, 30 Jan 2022 05:22:08 +0100
520 on Valentine's day, I sent a gift to my girlfriend with code ~ html+css+javascript to realize the cherry blossom love album "you can give it to the person you like"
❉ 520 on Valentine's day, I sent a gift to my girlfriend with code ~ html+css+javascript to realize the cherry blossom love album "you can take it to the person you like"
The annual / 520 Valentine's Day / Tanabata Valentine's Day / birthday gift / advertising younger martial sister / Christmas / New Year's Day / New Year's Day / pro ...
Posted by Nhoj on Sat, 29 Jan 2022 16:26:24 +0100
Notes on website development - ([Django] html form storage Mysql method)
1, Preparation link
Under development, no open source project, the details are inconvenient to show, only for Development notes. Environmental Science:
python3.8
django4.0
Mysql
compiler:
pycharm
sqlyog
Preliminary preparation: Notes on website development - (Introduction to django)
2, Front end html file
<form action="/now/use ...
Posted by amrigo on Sat, 29 Jan 2022 14:53:16 +0100