Comments on: Universal https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Mon, 04 Apr 2016 10:17:58 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Zohaib Hassan https://css-tricks.com/almanac/selectors/u/universal/#comment-1600695 Mon, 04 Apr 2016 10:17:58 +0000 http://css-tricks.com/?page_id=14279#comment-1600695 In reply to manojhl123.

This selector [class*=”content”] selects all elements that have a class attribute value that contains content. For example
1 – hello-content
2 – content-hello
3 – hellocontenthello

We can use [class$=”content”] to select elements that have a class attribute value that ends with content. For example
1 – hello-content

We can also use [class^=”content”] to select elements that have a class attribute value that begins with content. For example
1 – content-hello

]]>
By: Dinu https://css-tricks.com/almanac/selectors/u/universal/#comment-1165199 Tue, 18 Feb 2014 09:47:28 +0000 http://css-tricks.com/?page_id=14279#comment-1165199 In reply to manojhl123.

I think it’s pointing to any element with a class name that contains the word “content”, like content-wrap

]]>
By: Matt https://css-tricks.com/almanac/selectors/u/universal/#comment-1134691 Tue, 04 Feb 2014 19:44:20 +0000 http://css-tricks.com/?page_id=14279#comment-1134691 In reply to manojhl123.

I think it’s pointing to any element with a class that begins with (*=) the word “content.”

]]>
By: eyrty https://css-tricks.com/almanac/selectors/u/universal/#comment-519797 Tue, 20 Aug 2013 10:45:48 +0000 http://css-tricks.com/?page_id=14279#comment-519797 > rmniytrlykkleryklklernyl

]]>
By: manojhl123 https://css-tricks.com/almanac/selectors/u/universal/#comment-506671 Wed, 07 Aug 2013 03:10:53 +0000 http://css-tricks.com/?page_id=14279#comment-506671 In wordpress TwentyThirteen theme i found this styling

[class*="content"]:before

It is used to clear the float
but i don’t understand this type of styling does any one know how it works.

what’s that [ ] signifies plz expalin the syntax

]]>