标签:
葵花宝典终可成,半途而废万事空。
官方地址:http://docs.emmet.io/cheat-sheet/
我导出了pdf版,需要的同学可以下载:
链接:http://pan.baidu.com/s/1eQ74eSM 密码:laz1
All unknown abbreviations will be transformed to tag, e.g. foo
→ <foo></foo>
.
Alias of html:5
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of input[type=hidden name]
<input type="hidden" name="" />Alias of inp
<input type="text" name="" id="" />Alias of inp[type=search]
<input type="search" name="" id="" />Alias of inp[type=email]
<input type="email" name="" id="" />Alias of inp[type=url]
<input type="url" name="" id="" />Alias of inp[type=password]
<input type="password" name="" id="" />Alias of inp[type=datetime]
<input type="datetime" name="" id="" />Alias of inp[type=date]
<input type="date" name="" id="" />Alias of inp[type=datetime-local]
<input type="datetime-local" name="" id="" />Alias of inp[type=month]
<input type="month" name="" id="" />Alias of inp[type=week]
<input type="week" name="" id="" />Alias of inp[type=time]
<input type="time" name="" id="" />Alias of inp[type=tel]
<input type="tel" name="" id="" />Alias of inp[type=number]
<input type="number" name="" id="" />Alias of inp[type=color]
<input type="color" name="" id="" />Alias of inp[type=checkbox]
<input type="checkbox" name="" id="" />Alias of inp[type=radio]
<input type="radio" name="" id="" />Alias of inp[type=range]
<input type="range" name="" id="" />Alias of inp[type=file]
<input type="file" name="" id="" />Alias of input:button[type=reset]
<input type="reset" value="" />Alias of select[disabled.]
<select name="" id="" disabled="disabled"></select>Alias of menu[type=context]>
<menu type="context"></menu>Alias of menu[type=toolbar]>
<menu type="toolbar"></menu>Alias of button[type=submit]
<button type="submit"></button>Alias of button[type=reset]
<button type="reset"></button>Alias of button[disabled.]
<button disabled="disabled"></button>Alias of fieldset[disabled.]
<fieldset disabled="disabled"></fieldset>Alias of blockquote
<blockquote></blockquote>Alias of figure
<figure></figure>Alias of figcaption
<figcaption></figcaption>Alias of picture
<picture></picture>Alias of iframe
<iframe src="" frameborder="0"></iframe>Alias of embed
<embed src="" type="" />Alias of object
<object data="" type=""></object>Alias of caption
<caption></caption>Alias of colgroup
<colgroup></colgroup>Alias of fieldset
<fieldset></fieldset>Alias of button
<button></button>Alias of optgroup
<optgroup></optgroup>Alias of textarea
<textarea name="" id="" cols="30" rows="10"></textarea>Alias of legend
<legend></legend>Alias of section
<section></section>Alias of article
<article></article>Alias of header
<header></header>Alias of footer
<footer></footer>Alias of address
<address></address>Alias of dialog
<dialog></dialog>Alias of strong
<strong></strong>Alias of progress
<progress></progress>Alias of main
<main></main>Alias of template
<template></template>Alias of datagrid
<datagrid></datagrid>Alias of datalist
<datalist></datalist>Alias of keygen
<keygen />Alias of output
<output></output>Alias of details
<details></details>Alias of command
<command />Alias of html>(head>meta[charset=${charset}]+title{${1:Document}})+body
<html> <head> <meta charset="UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of html>(head>meta[http-equiv="Content-Type" content="text/html;charset=${charset}"]+title{${1:Document}})+body
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of img:s
<img srcset="" src="" alt="" />Alias of img:z
<img sizes="" srcset="" src="" alt="" />Alias of pic>src:m+img
<picture> <source media="(min-width: )" srcset="" /> <img src="" alt="" /> </picture>Alias of pic>src:t+img
<picture> <source srcset="" type="image/" /> <img src="" alt="" /> </picture>Alias of !!!4t+doc4[lang=${lang}]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of !!!4s+doc4[lang=${lang}]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of !!!xt+doc4[xmlns=http://www.w3.org/1999/xhtml xml:lang=${lang}]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of !!!xs+doc4[xmlns=http://www.w3.org/1999/xhtml xml:lang=${lang}]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of !!!xxs+doc4[xmlns=http://www.w3.org/1999/xhtml xml:lang=${lang}]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of !!!+doc[lang=${lang}]
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Document</title> </head> <body> </body> </html>Alias of ol>li
<ol> <li></li> </ol>Alias of ul>li
<ul> <li></li> </ul>Alias of dl>dt+dd
<dl> <dt></dt> <dd></dd> </dl>Alias of map>area
<map name=""> <area shape="" coords="" href="" alt="" /> </map>Alias of table>tr>td
<table> <tr> <td></td> </tr> </table>Alias of colgroup>col
<colgroup> <col /> </colgroup>Alias of tr>td
<tr> <td></td> </tr>Alias of select>option
<select name="" id=""> <option value=""></option> </select>Alias of optgroup>option
<optgroup> <option value=""></option> </optgroup>Alias of picture>source:srcset+img
<picture> <source srcset="" /> <img src="" alt="" /> </picture>CSS module uses fuzzy search to find unknown abbreviations, e.g. ov:h
== ov-h
== ovh
== oh
.
If abbreviation wasn’t found, it is transformed into property name: foo-bar
→ foo-bar: |;
You can prefix abbreviations with hyphen to produce vendor-prefixed properties: -foo
Alias of xsl:choose>xsl:when+xsl:otherwise
<xsl:choose> <xsl:when test=""></xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose>Alias of !!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{ |}
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"></xsl:stylesheet>标签:
原文地址:http://www.cnblogs.com/cssfirefly/p/4688639.html