Home  >  Article  >  Web Front-end  >  sublime text3 jQuery Emmet plug-in installation method, shortcut keys

sublime text3 jQuery Emmet plug-in installation method, shortcut keys

PHP中文网
PHP中文网Original
2017-07-03 17:30:481395browse

preference->package control->install package> emmet / jQuery

<br>

Let’s talk about jQuery first

jQuery integrates many JS completion functions. For example, appendChild, it will have.

<br>

Emmet

shortcut key

http://docs.emmet.io/cheat-sheet/

! tab generates basic html format

table tab Generate table label

a tab \ link tab Generate link, and css link

nav>ul>li generate:

<span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">nav</span><span style="color: rgb(0, 0, 255);">></span>
    <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">ul</span><span style="color: rgb(0, 0, 255);">></span>
        <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span>
    <span style="color: rgb(0, 0, 255);"></span><span style="color: rgb(128, 0, 0);">ul</span><span style="color: rgb(0, 0, 255);">></span>
<span style="color: rgb(0, 0, 255);"></span><span style="color: rgb(128, 0, 0);">nav</span><span style="color: rgb(0, 0, 255);">></span></span></span></span>

nav>ul>li*5

<span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">nav</span><span style="color: rgb(0, 0, 255);">></span>
    <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">ul</span><span style="color: rgb(0, 0, 255);">></span>
        <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span>
        <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span>
        <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span>
        <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span>
        <span style="color: rgb(0, 0, 255);"><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span><span style="color: rgb(128, 0, 0);">li</span><span style="color: rgb(0, 0, 255);">></span>
    <span style="color: rgb(0, 0, 255);"></span><span style="color: rgb(128, 0, 0);">ul</span><span style="color: rgb(0, 0, 255);">></span>
<span style="color: rgb(0, 0, 255);"></span><span style="color: rgb(128, 0, 0);">nav</span><span style="color: rgb(0, 0, 255);">></span></span></span></span></span></span></span></span>

生成#id. class

div#header

span.abc

span.abc.def

<font style="font-size: 12pt;"><span><span> <span>class=</span><span>"abc def"</span><span>></span></span></span></font>
<br>
<font size="5" style="background-color: rgb(255, 255, 0);">CSS</font>
<font style="font-size: 12pt;">po/ pos</font>
<font style="font-size: 12pt;">弹出:position:relative;</font>
<font size="3">poa/ pos:a;/posa</font>
<font size="3">弹出: position:absolute;</font>
<br>
<font size="3">p</font>
<font size="3">弹出:padding:;</font>
<font size="3">b/bo</font>
<font size="3">bottom:;</font>
<font size="3">backg/bg</font>
<font size="3">background:;</font>
<font size="3">bg+</font>
<img    style="max-width:90%"  style="max-width:90%" title="sublime text3 jQuery Emmet plug-in installation method, shortcut keys" style="margin: 0px; display: inline; background-sublime text3 jQuery Emmet plug-in installation method, shortcut keys: none;" alt="sublime text3 jQuery Emmet plug-in installation method, shortcut keys" src="https://img.php.cn/upload/article/000/000/001/d6a293d149c6643c3ffbda36f9bb1e60-0.png" border="0">
bd
boarder
m
margin
m:a
margin:auto
<br>
<font style="font-size: 12pt;">
</font>

The above is the detailed content of sublime text3 jQuery Emmet plug-in installation method, shortcut keys. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn