Skip to content

Instantly share code, notes, and snippets.

@xuweiwei2011
Forked from magicznyleszek/css-selectors.md
Last active November 27, 2021 05:58
CSS Selectors Cheatsheet
{"lastUpload":"2021-11-27T04:53:52.121Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.13"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.9"
},
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.5.0"
},
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"metadata": {
"id": "054c9173-0857-4293-bf29-e13a78d356cc",
"publisherId": "ryanolsonx.chrome-devtools",
"publisherDisplayName": "ryanolsonx"
},
"name": "chrome-devtools",
"publisher": "ryanolsonx",
"version": "1.0.1"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.11.6"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.3"
},
{
"metadata": {
"id": "b267beee-e56c-4603-817f-1b91e2a3c2f1",
"publisherId": "codetin.darkplusplus",
"publisherDisplayName": "codetin"
},
"name": "darkplusplus",
"publisher": "codetin",
"version": "0.2.6"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.13.0"
},
{
"metadata": {
"id": "ff87ade8-05c3-465b-9f46-1fdc88ee5666",
"publisherId": "LemonZhang.easy-less",
"publisherDisplayName": "LemonZhang"
},
"name": "easy-less",
"publisher": "LemonZhang",
"version": "0.21.0"
},
{
"metadata": {
"id": "626735cf-2e54-4642-8bfc-02227eed9c52",
"publisherId": "mrcrowl.easy-less",
"publisherDisplayName": "mrcrowl"
},
"name": "easy-less",
"publisher": "mrcrowl",
"version": "1.7.3"
},
{
"metadata": {
"id": "2230c92e-e895-412a-99c9-cf4ff9cc247c",
"publisherId": "SS.element-ui-snippets",
"publisherDisplayName": "SS"
},
"name": "element-ui-snippets",
"publisher": "SS",
"version": "0.7.2"
},
{
"metadata": {
"id": "0e8e71fb-6b26-4602-8e4a-1741a7b40a08",
"publisherId": "Wscats.eno",
"publisherDisplayName": "Wscats"
},
"name": "eno",
"publisher": "Wscats",
"version": "2.3.53"
},
{
"metadata": {
"id": "218efb4e-02ec-4c6e-a668-556320c65b8e",
"publisherId": "pawelgrzybek.gatito-theme",
"publisherDisplayName": "pawelgrzybek"
},
"name": "gatito-theme",
"publisher": "pawelgrzybek",
"version": "0.2.3"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.go",
"publisherDisplayName": "golang"
},
"name": "go",
"publisher": "golang",
"version": "0.29.0"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "198a707e-28af-4e84-8610-6e2f628dd12d",
"publisherId": "redhat.java",
"publisherDisplayName": "redhat"
},
"name": "java",
"publisher": "redhat",
"version": "1.0.0"
},
{
"metadata": {
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f",
"publisherId": "xabikos.JavaScriptSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JavaScriptSnippets",
"publisher": "xabikos",
"version": "1.8.0"
},
{
"metadata": {
"id": "99c12a52-ff68-4e9d-a975-a67556fee2f5",
"publisherId": "donjayamanne.jquerysnippets",
"publisherDisplayName": "donjayamanne"
},
"name": "jquerysnippets",
"publisher": "donjayamanne",
"version": "0.0.1"
},
{
"metadata": {
"id": "6c2f1801-1e7f-45b2-9b5c-7782f1e076e8",
"publisherId": "ms-toolsai.jupyter",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter",
"publisher": "ms-toolsai",
"version": "2021.10.1101450599"
},
{
"metadata": {
"id": "9f6dc8db-620c-4844-b8c5-e74914f1be27",
"publisherId": "ms-toolsai.jupyter-keymap",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter-keymap",
"publisher": "ms-toolsai",
"version": "1.0.0"
},
{
"metadata": {
"id": "b15c72f8-d5fe-421a-a4f7-27ed9f6addbf",
"publisherId": "ms-toolsai.jupyter-renderers",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter-renderers",
"publisher": "ms-toolsai",
"version": "1.0.3"
},
{
"metadata": {
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c",
"publisherId": "sysoev.language-stylus",
"publisherDisplayName": "sysoev"
},
"name": "language-stylus",
"publisher": "sysoev",
"version": "1.14.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "3.4.0"
},
{
"metadata": {
"id": "5cbdf58a-694a-4aba-af08-61d00842eb03",
"publisherId": "bierner.markdown-preview-github-styles",
"publisherDisplayName": "bierner"
},
"name": "markdown-preview-github-styles",
"publisher": "bierner",
"version": "0.2.0"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.13.2"
},
{
"metadata": {
"id": "e58f546c-babc-455f-a265-ba40dbd140d4",
"publisherId": "sdras.night-owl",
"publisherDisplayName": "sdras"
},
"name": "night-owl",
"publisher": "sdras",
"version": "2.0.1"
},
{
"metadata": {
"id": "fef63133-dae3-40fb-b81d-6da7617b4b1e",
"publisherId": "techer.open-in-browser",
"publisherDisplayName": "techer"
},
"name": "open-in-browser",
"publisher": "techer",
"version": "2.0.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.5.0"
},
{
"metadata": {
"id": "707c46ed-f0c5-4fba-9f7f-025257b23b6b",
"publisherId": "remimarsal.prettier-now",
"publisherDisplayName": "remimarsal"
},
"name": "prettier-now",
"publisher": "remimarsal",
"version": "1.4.9"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "9.0.0"
},
{
"metadata": {
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc",
"publisherId": "mohsen1.prettify-json",
"publisherDisplayName": "mohsen1"
},
"name": "prettify-json",
"publisher": "mohsen1",
"version": "0.0.3"
},
{
"metadata": {
"id": "c2d640b5-2714-475e-b7f1-6492074fc77f",
"publisherId": "arturiapendragon.px2rem",
"publisherDisplayName": "arturiapendragon"
},
"name": "px2rem",
"publisher": "arturiapendragon",
"version": "0.0.3"
},
{
"metadata": {
"id": "98481b6e-9651-4687-80f4-abb954075f69",
"publisherId": "hex-ci.px2rem-plus",
"publisherDisplayName": "hex-ci"
},
"name": "px2rem-plus",
"publisher": "hex-ci",
"version": "0.3.4"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2021.11.1422169775"
},
{
"metadata": {
"id": "7228c862-21fb-4a4c-a50a-8dfb4ca8c691",
"publisherId": "ryanolsonx.solarized",
"publisherDisplayName": "ryanolsonx"
},
"name": "solarized",
"publisher": "ryanolsonx",
"version": "2.0.3"
},
{
"metadata": {
"id": "5f1399a6-483c-4c12-ac8c-0fafad2ea3cc",
"publisherId": "Alan.stylus",
"publisherDisplayName": "Alan"
},
"name": "stylus",
"publisher": "Alan",
"version": "0.0.4"
},
{
"metadata": {
"id": "186ace18-2b44-490d-863e-0bd29b229a27",
"publisherId": "formulahendry.terminal",
"publisherDisplayName": "formulahendry"
},
"name": "terminal",
"publisher": "formulahendry",
"version": "0.0.10"
},
{
"metadata": {
"id": "e2fafe48-b7d2-4403-9711-327bcf332644",
"publisherId": "dahong.theme-bear",
"publisherDisplayName": "dahong"
},
"name": "theme-bear",
"publisher": "dahong",
"version": "2.1.0"
},
{
"metadata": {
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1",
"publisherId": "dracula-theme.theme-dracula",
"publisherDisplayName": "dracula-theme"
},
"name": "theme-dracula",
"publisher": "dracula-theme",
"version": "2.24.0"
},
{
"metadata": {
"id": "15de929b-c739-49db-86bc-b968cc6b7a5b",
"publisherId": "AdamCaviness.theme-monokai-dark-soda",
"publisherDisplayName": "AdamCaviness"
},
"name": "theme-monokai-dark-soda",
"publisher": "AdamCaviness",
"version": "1.0.0"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.35.0"
},
{
"metadata": {
"id": "484d897a-6711-403c-ab54-a96f12be5833",
"publisherId": "Equinusocio.vsc-community-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-community-material-theme",
"publisher": "Equinusocio",
"version": "1.4.2"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "33.2.0"
},
{
"metadata": {
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113",
"publisherId": "equinusocio.vsc-material-theme-icons",
"publisherDisplayName": "equinusocio"
},
"name": "vsc-material-theme-icons",
"publisher": "equinusocio",
"version": "1.2.2"
},
{
"metadata": {
"id": "0b8f8d63-11a2-4194-969c-ca7488b3413a",
"publisherId": "pranaygp.vscode-css-peek",
"publisherDisplayName": "pranaygp"
},
"name": "vscode-css-peek",
"publisher": "pranaygp",
"version": "4.2.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.2.2"
},
{
"metadata": {
"id": "829a192d-496c-44ac-87f3-0a84ce36a853",
"publisherId": "emmanuelbeziat.vscode-great-icons",
"publisherDisplayName": "emmanuelbeziat"
},
"name": "vscode-great-icons",
"publisher": "emmanuelbeziat",
"version": "2.1.79"
},
{
"metadata": {
"id": "aaee577c-f062-495a-9816-0cbd442f1d25",
"publisherId": "ecmel.vscode-html-css",
"publisherDisplayName": "ecmel"
},
"name": "vscode-html-css",
"publisher": "ecmel",
"version": "1.10.2"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "11.7.0"
},
{
"metadata": {
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b",
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hans",
"publisherDisplayName": "MS-CEINTL"
},
"name": "vscode-language-pack-zh-hans",
"publisher": "MS-CEINTL",
"version": "1.62.4"
},
{
"metadata": {
"id": "99bb71cc-b8a5-43bf-b6a8-371f9f0f4ca3",
"publisherId": "fabiospampinato.vscode-monokai-night",
"publisherDisplayName": "fabiospampinato"
},
"name": "vscode-monokai-night",
"publisher": "fabiospampinato",
"version": "1.6.0"
},
{
"metadata": {
"id": "364d2426-116a-433a-a5d8-a5098dc3afbd",
"publisherId": "ms-python.vscode-pylance",
"publisherDisplayName": "ms-python"
},
"name": "vscode-pylance",
"publisher": "ms-python",
"version": "2021.11.2"
},
{
"metadata": {
"id": "4c808376-20ec-41d4-a934-f7601552c4f1",
"publisherId": "jcbuisson.vue",
"publisherDisplayName": "jcbuisson"
},
"name": "vue",
"publisher": "jcbuisson",
"version": "0.1.5"
},
{
"metadata": {
"id": "3620b114-6fe8-459b-8c68-99943147069b",
"publisherId": "hollowtree.vue-snippets",
"publisherDisplayName": "hollowtree"
},
"name": "vue-snippets",
"publisher": "hollowtree",
"version": "1.0.4"
},
{
"metadata": {
"id": "6b99015e-561b-4192-8b83-b2120a523567",
"publisherId": "mariorodeghiero.vue-theme",
"publisherDisplayName": "mariorodeghiero"
},
"name": "vue-theme",
"publisher": "mariorodeghiero",
"version": "1.1.5"
},
{
"metadata": {
"id": "fd6d3dc6-b307-4589-82a6-78e2afec3d77",
"publisherId": "johnpapa.winteriscoming",
"publisherDisplayName": "johnpapa"
},
"name": "winteriscoming",
"publisher": "johnpapa",
"version": "1.4.4"
}
]
{
"editor.fontFamily": "Monaco,微软雅黑,Consolas, 'Courier New', monospace",
"files.autoSave": "afterDelay",
"files.associations": {
"*.vue": "vue",
"*.wpy": "vue",
"*.wxml": "html",
"*.wxss": "css"
},
// "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"git.enableSmartCommit": true,
"git.autofetch": true,
"emmet.triggerExpansionOnTab": true,
"emmet.showAbbreviationSuggestions": true,
"emmet.showExpandedAbbreviation": "always",
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html",
"wpy": "html"
},
//主题颜色
//"workbench.colorTheme": "Monokai",
"git.confirmSync": false,
"explorer.confirmDelete": false,
"window.zoomLevel": 0.6,
"editor.wordWrap": "on",
"editor.detectIndentation": false,
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "line",
"editor.fontLigatures": true,
// 重新设定tabsize
"editor.tabSize": 2,
// #值设置为true时,每次保存的时候自动格式化;
// "editor.formatOnSave": true,
//每120行就显示一条线
"editor.rulers": [],
// 在使用搜索功能时,将这些文件夹/文件排除在外
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/target": true,
"**/logs": true
},
// 这些文件将不会显示在工作空间中
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.js": {
"when": "$(basename).ts" //ts编译后生成的js文件将不会显示在工作空中
},
"**/node_modules": true
},
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
// #vue组件中html代码格式化样式
"wrap_attributes": "force-aligned", //也可以设置为“auto”,效果会不一样
// "wrap_attributes": "auto",
"wrap_line_length": 200,
"end_with_newline": false,
"semi": false,
"singleQuote": true
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": false
}
},
"[vue]": {
"editor.defaultFormatter": "octref.vetur"
},
"vetur.ignoreProjectWarning": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnType": true
},
"prettier.semi": false,
"prettier.useTabs": true,
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"eslint.validate": [],
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.defaultFormatter": "remimarsal.prettier-now",
// "editor.defaultFormatter": "octref.vetur",
"prettier.singleQuote": true,
"prettier.jsxSingleQuote": true,
"editor.formatOnType": false,
"workbench.statusBar.visible": true,
// "window.menuBarVisibility": "default",
"breadcrumbs.enabled": false,
"editor.renderWhitespace": "none",
"prettier.spaceBeforeFunctionParen": true,
"prettier.spaceBeforeParen": true,
// "[javascript]": {
// "editor.defaultFormatter": "vscode.typescript-language-features"
// },
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.scss": "none",
"vetur.format.defaultFormatter.ts": "none",
"compile-hero.typescript-output-toggle": false,
"compile-hero.typescriptx-output-toggle": false,
"compile-hero.stylus-output-toggle": false,
"compile-hero.scss-output-toggle": false,
"compile-hero.sass-output-toggle": false,
"compile-hero.pug-output-toggle": false,
"compile-hero.notification-toggle": false,
"compile-hero.less-output-toggle": false,
"compile-hero.javascript-output-toggle": false,
"compile-hero.jade-output-toggle": false,
"sync.gist": "e867d96a0dad9beace1ae1f03228bacb",
"editor.linkedEditing": true,
"html.format.endWithNewline": true,
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"editor.fontSize": 16,
"vsicons.dontShowNewVersionMessage": true,
"editor.minimap.enabled": false,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.startupEditor": "none",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"go.alternateTools": {
},
"[go]": {
"editor.snippetSuggestions": "none",
"editor.insertSpaces": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.suggest.snippetsPreventQuickSuggestions": false,
},
"editor.formatOnSave": true,
"gopls": {
"usePlaceholders": true, // add parameter placeholders when completing a function
"completionDocumentation": true // for documentation in completion items
},
"files.eol": "\n",
"go.formatTool": "gofmt",
"go.toolsManagement.autoUpdate": true, // formatting only supports LF line endings
"prettier.arrowParens": false,
}
{
// Place your snippets for go here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console": {
"prefix": "pln",
"body": [
"fmt.Println($0)",
],
"description": "Log output to console"
}
}
{
// Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment