2022 dark horse programmer - first stage of front-end learning (day03 CSS Foundation)
Learning video station B: Dark horse programmer - front end learning (phase I)
CSS Foundation
Basic cognition
CSS knowledge
CSS: Cascading style sheets What is the function of CSS?? Style HTML tags in a page Where is it written? In general, write style in the label, css in the label Code example:
<!DOCTYPE html>
<html lang=" ...
Added by chaffinator on Tue, 01 Feb 2022 08:08:05 +0200
Here comes little Moore! Take you to be a magical little Moore in 3 minutes!
On June 1, the mobile tour of Moore Manor was officially opened. The little blogger went to download it for the first time. It's so fun that with this blog, let's see how to realize this lovely (magical) little Moore!!
Realization effect
Hahaha, is this little Moore's head very magical? The blogger tried his best! Isn't it cute~~
Implement ...
Added by Firestorm3d on Mon, 31 Jan 2022 20:51:33 +0200
"Everything wins" fireworks show you may not know
🙇 preface
In the twinkling of an eye, it's the Spring Festival again, and this year's Spring Festival is just my life year 🐯. Because of the epidemic, I may not be able to go home for the new year again. I still want to go back to see the fireworks and feel the flavor of the next year 🧧. Since you can't go back, make one by yourself ~ enjo ...
Added by andy666 on Mon, 31 Jan 2022 14:46:53 +0200
Front end fourth note (38 ~ 57) css
Inheritance of styles (p38)
1. Style inheritance: the style we set for an element will also be applied to the descendant elements.
2. Inheritance occurs between descendant elements and descendants.
3. The design of inheritance is to facilitate our development. Using inheritance, we can uniformly set some general styles to the common ance ...
Added by Petrushka on Sun, 30 Jan 2022 08:39:52 +0200
CSS3--Flex elastic box layout: properties of flex items
1. Attributes of flex items
The following six properties are set on the project.
orderflex-growflex-shrinkflex-basisflexalign-self
1.1 order attribute
The order attribute defines the order in which items are arranged. The smaller the value, the higher the arrangement. The default value is 0.
.item {
order: <integer>;
}
Exampl ...
Added by petersro on Sat, 29 Jan 2022 03:14:07 +0200
HTML common tags
1. Introduction
The core of HTML is its defined tags and elements. Tags mainly include three parts:
Tag keywords. For example: p, h1, img, etc.The semantics expressed by the tag. For example, p label represents paragraph, h1 label represents primary title, etc.Common attributes and attribute values of tags. For example, the align attribute ...
Added by weedo on Fri, 28 Jan 2022 01:46:54 +0200
Use js to download the current image
At the front end, we sometimes display the current page as a picture, such as orders and logistics information. At this time, we need not use the screenshot tool to forward, or take photos on the mobile phone. If we use js to download the current html into a picture, how can we do it Here is a tool, html2canvas, which is easy to use
The usage ...
Added by tidalik on Thu, 27 Jan 2022 09:37:25 +0200
3D space conversion (displacement, rotation, stereo rendering)
Attribute: transform. The z-axis is perpendicular to the screen. The positive direction points to the user and the negative direction points to the inside of the screen.
Spatial displacement:
Compound syntax: transform:translate3d(x,y,z);
Separate syntax: Transform: translatex (value); Transform: translatey (value); Transform: translatez (va ...
Added by Xanza on Wed, 26 Jan 2022 19:36:48 +0200
HTML CSS3 deformation, move, rotate, zoom, 3d, animation, stretch layout and other notes
Deformation movement
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style type="text/css">
div{
width: 100px;
...
Added by Porl123 on Wed, 26 Jan 2022 05:35:02 +0200
Input pseudo class of css selector - realize the input box style experience of Material Design style
Use of: enabled and: disabled
Use detail points:
In the input box, set the readonly attribute to match the enabled style< a href > < / a > can match the: enabled attribute, but cannot match the: disabled attributeThe < Select > drop-down box can match: enabled and: disabledcontenteditable='true 'cannot match the element of t ...
Added by mrblom on Sat, 22 Jan 2022 10:33:38 +0200