Distinguish em and rem of CSS and CSSemrem
In css, px, em, and rem are the most commonly used units. The differences are as follows:
Px is a fixed pixel. Once it is set, it cannot be changed because it adapts to the page size.
Em and rem are more
Frequently-used commands echo, @, call, pause, and REM (TIPS: Use: instead of REM) are the most frequently-used commands for batch file processing. We started from them.
First, @ is not a command, but a special identifier for DOS batch processing.
Window batch processing-6 rem, window-6rem
Purpose:
A comment command to add corresponding instructions to the batch.
Format:
Rem [comment]
Demo:
Bat
@ Echo offpause rem this is an explanation of pause echo xxxpause
Result:
http://blog.csdn.net/huang100qi/article/details/29845359remis a newly added unit value in CSS3, which, em like the unit, is a relative unit. The difference is that it is calculated relative to the parent element of the element, relative to the em
Through the two blogs that were written a few days ago (talking about the difference between mobile and mobile EM and REM), let's summarize how to achieve the best solution for the viewport.As mentioned in the second blog post, we can use media
Rem statement
Contains explanatory comments in the program.
Rem comment
Or
' comment
The comment parameter is the annotation text that you want to include. There should be a space between the Rem keyword and the comment .
Description
As shown
Introduction to the "1" rem commandThe comment command, which is equivalent to/*----------in the C language, is not executed, but acts as a comment that makes it easier for others to read and maintain scripts in the future.For a more specific
1.1 Learning the Echo rem CD dir command
Learning points:1. Display information: Echo2. Comment Statement: REM3. Directory Switching: CD4. Column File name: dir
One, display information: Echo
Before we learn the echo command, we'll build a new
In fact, some symbols have long been introduced in my logs. For details, see the second log "What do some symbols in the. Bat configuration file mean?". I did not learn it very well at that time. Today, my sister-in-law asked me to sort out a log to
Rem
Allows you to include comments in a batch file or a configuration file.
Grammar
REM [Comment]
Parameters
Comment
Specifies any string to be used as a comment.
/?
Displays help at the command prompt.
Comments
? Using the echo command to display
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.