We can specify grid columns, rows, and areas in one property using the the grid-template shorthand. { display: grid; height: 100vh; grid-gap: 10px; grid-template-areas: "Nav-1 nav-2 nav-3" "main main nav-3"; Grid-template-columns: 2fr auto 1fr; grid-template-rows: [Nav-start] 1fr [nav-end Main-start] 5FR
This article comes from years of experience in JavaScript coding techniques that are suitable for all developers who are programming with JavaScript.The purpose of this article is to help you become more proficient in the use of JavaScript language for development work.This article will be divided into two parts: primary and Advanced, respectively.Beginner's article1, trinocular operatorThe following is a good example of a complete if statement, abbreviated to a single line of code.const x = 20;
The shorthand property is a CSS property that lets you set several other CSS property values at the same time. With the shorthand attribute, Web developers can write more concise, more readable stylesheets, saving time and effort.The purpose of the CSS specification definition shorthand attribute is to bring together those definitions of common properties on the
HTML5 Meta CharSet page character encoding shorthandHTML5 Meta CharSet page character encoding shorthand abbreviation tutorial (Music relaxation Chair)In addition to the DOCTYPE HTML can be shortened in HTML5, and this abbreviation compatible with the new old version and different brand browser, meta-CharSet Web page encoding can be abbreviated, but also compatible with the old version of the browser and browser and different brands.Related Tutorials
now, why add an OR?[PHP] mysql_connect ($host,$user,$pwddie ('Mysql error!'); [/php]If the connection fails, the front is false, the back die will run!Let's look at the following example:[PHP] $var = ";! $var Echo "It's empty!" ";! $var Print "It's empty!" "; [/php]which can be executed successfully?You know why?Here is the difference between echo and print:The difference between Echo and printThe functions of ECHO and print are basically the same in PHP, but there are subtle differences betwee
1. Weakly typed languages2. Variable $x3. Scope: Global,local,static,parameter.Global: In the function, refer to the world variable, before you call global. All variables are stored in a named $globals[index]. Global $x = = $GLOBALS [' x ']Static: Local variables in the function do not want to be destroyed after the execution of the function, with static. This will preserve the last value when the function is called again the next time.4. Array: $arr =array (x,x,x,x); Var_dump () Array (' a ' =
,What are the consequences of such a way?It changes the contents of the two pointers together, but cannot change the other pointer itself, does it feel incomprehensible?It doesn't matter that P is assigned according to the left of the previous parent node, assuming that the previous parent node is called FWell, that'sp=f->left;At this time p and F->left are nullptr,Until this time, there's no problem.Then we kept to change the contents of P,This time, yes, we changed the contents of the two poin
on Oss.jfrog.org "also sends a request, not a few minutes, can be used, upgrade, unlike the first submission, very fast. Immediately you can update the reference version number on GitHub, instantly mood Shuangshuang.V. Some of the pits that have been trampled1)Lint found errors in the projectThe Lint check is turned on by default, Lint checks for syntax errors in the project and cannot continue if it is not passed. Just add the following code to the Module's build.gradle:Android { lintoption
bold 12px Arial,verdana;} 2. Background background-color: #999999;//element background color background-image:url ( "Path/bgfile.gif"); Set background image background-repeat:repeat-x | repeat-y | repeat | no-repeat;//Set Repeat background-attachment:fixed | Scroll Sets the fixed way of the background picture background-position:x axis coordinates, y coordinate [top,bottom,center,left,right,20px,10%]; Sets the position of the upper-left corner of the background, in which the coordinate
1. Start the container and map the host to the container portDocker Run-p 127.0.0.1:20001:22-ti Centos/bin/bash2, Daemon way to start the containerDocker run -d-p 127.0.0.1:5000:22-ti centos/bin/bashdocker run -ti-p 0.0.0.0:7600:9600-p 0.0.0.0:7603:9603-t I Configserver2.lhm/bin/bash3. Connect to the background containerDocker Attach eb93ec3a3143ae732cedf573538e9117eb9897c4f93816c6b9821dbc7549f50c4. View the process in which the container is runningDocker Top 261ea009ae265. View the container
1.fontThis shorthand property allows you to set multiple properties of a font in a declaration.The following properties can be set sequentially:
Font-style
Font-variant
Font-weight
Font-size
Line-height
Font-family
For example:{ font: italic bold 16px 1 Sans-serif;}Font size and line height can also be written together. The middle is separated by a slash.The above attributes can also be written as:{ font: italic
Five ways to color in 1.HTML1) directly in the color of the English name expressionFor example, the background color is white;2. by 16 decimal notationFor example, the background color is black3). By means of RGBRGB: Is the first letter of the English alphabet in Red (red) green (blue) Three colors, with a value range of 0-255, with three parameter valuesIndicates that the background color is yellowDetailed values are shown in Figure 14). Expressed as a percentageThree values are based on a perc
Paragraph
Pre
preformatted
Pre-defined format (text)
Q
Quotation
Quoting language
Rel
Reload
Load
S/strike
Strikethrough
Delete Line
Samp
Sample
Example (text
Small
Small
Become smaller (text)
Span
Span
Range
Src
Source
Source file Links
Strong
Strong
Aggravating (text)
Spring integrates with MyBatis and the code becomes very elegant!The main use of the jar package is Mybatis-spring-boot-starter.jar, whose maven dependencies are as follows, added to the Pom.xml fileTo create an entity class object: StudentCreate the Mapper interface and make @mapper annotations@MapperPublic interface Studentmapper {@Insert ("Insert into student (s_id,s_name) VALUES (#{id},#{name})")void Createstudent (Student Student);@Select ("SELECT * FROM Student")@Results ({@Result property
Tomcat URL shorthand case: Mock Web site* Actual url:http://www.baidu.com:8080/myweb/1.html * Actual location: F:\mywebapps\myweb\1.html * Final Access url:http://www.baidu.com * Step * 1 Available: http://www.baidu.com:8080/myweb/1.html * Virtual host www.baidu.com * 2 port: http://www.baidu.com/myweb/1.html * Server.xml modified to 80 because 80 port is the default port, so after entering the port, access, the port number will automatically disappea
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.