­

Programmer on Rails

By Marcy Liao. Maximize the power of each line of code

READ MORE

Blog

Share thoughts about building software

Child Selector example

By |July 18th, 2016|

Example of how to select the children of an element.

Descendant Selector example

By |July 18th, 2016|

Example of how to select the elements inside a specified element.

Combine attribute selectors with basic selectors

By |July 18th, 2016|

Exampe to combine type, id, class selectors with attribute selectors.

Combining Selectors

By |July 18th, 2016|

Introduce how to combine different selectors to select elements with more flexibility.

The [attribute*=”value”] selector

By |July 18th, 2016|

A selector returns all the elements with the specific attribute value that contains a specified partial

The [attribute$=”value”] selector

By |July 18th, 2016|

A selector returns all the elements with the specific attribute value that ends with a specified partial