Solutaion A. Creating a Character Title:
Give The initial physical strength value \(str\) and the intelligence value \(int\), then you can put the \(str\) class=”math inline”>\(exp\) are assigned
Category: Web
Web front-end development evolved from the production of web pages, and the name has obvious characteristics of the times. In the evolution of the Internet, web page production was a product of the Web1.0 era. At that time, the main content of the website was static, and the behavior of users using the website was mainly browsing. After 2005, the Internet entered the Web 2.0 era, and a large number of Web applications similar to desktop software emerged, and the front end of the website has undergone earth-shaking changes. Web pages are no longer just carrying single text and pictures. Various rich media make the content of web pages more vivid, and the software-based interactive forms on web pages provide users with a better experience. These are all based on front-end technology.
Front end CSS
CSS (Cascading Style Sheet): defines how to display HTML elements CSS selection Basic selector Element selector p< /span>{color:”red”;} ID selector #i1{
background-color:red;
} Class select
Position attribute four values: Static, Fixed, Absolute and Relative Differences and Usage (transfer from Bo Friends Newbie_ White)
When using CSS+DIV for layout, the four attribute values of position, relative, absolute, static, and fixed, are not clearly divided, so that there are often very depressing results. I researched
CSS_ 中 中
Centering in CSS can be divided into Horizontal Center and Vertical Center. Horizontal centering can be divided into two cases: in-line element centered and block element centered, while block elem
DAY45_9_4 Front end (2) CSS
One. Three types of css import for css:
1. Defined internally in the tag (not recommended).
2. The style in the head always defines the style.
3. Use link to link external css fil
Extract xPath, Re, CSS
XPATH
(1)/Extract layer by layer
(2)text() Extract the text below the label
(3)/ /Tag name extract all tags
(4)//Tag name[num>=1] Extract sibling nodes with the same tag nam
Vue can not modify the style after adding scoped (unable to modify the Element UI style)
Sometimes the default style provided by element cannot meet the needs of the project, and we need to modify the style of our team label, but it is found that the modified style does not work
Common CSS RESET
1, Eric Meyer’s “Reset CSS” 2.0
1 /**
2 * Eric Meyer’s Reset CSS v2.0 (http: //meyerweb.com/eric/tools/css/reset/)
3 * http://cssreset.com
4 */
5 html, body, div, span, applet, object
CSS () Get a simple package of the style current value and setting style
function css() {
if (arguments.length == 2) {
//Get the style
if (getComputedStyle(arguments[0], false)) {
//Standard browser
var attr = arguments[1];
return getComputedStyle(arguments[
CSS selector
8. CSS selector 8.1. Tag selector
Function: Set the style for a certain tag specified on the page.
Code:
Label name{
Attribute name 1: Attribute value 2;
Attribute name 2: Attribute value 2;
…