---
title: "css selector 小记"
author: "baitian"
date: "2012-11-20T14:45:14Z"
tags: []
categories: ["Web前端"]
slug: "css-selector"
draft: false
lastmod: "2012-11-20T14:45:14Z"
id: 1730613
url: "https://baitian.iteye.com/blog/1730613"
---

space for Nesting Selectors
, for selector group

element selector:
element name

property selector:
special:
*# for id property
*. for class property
general:
*[property name]
*[property name][property name]
*[property name=property value]
*[property name~=key](~ indicate property value contains the key ,the key is a whole world )
*[property name^=key](^ indicate property value start with the key )
*[property name$=key]($ indicate property value end with the key )
*[property name*=key](* indicate property value contains the key )
