Preventing attacks on a user's history through CSS :visited selectors. Web browsers remember what pages a user has visited recently.
This is true in current versions of all major Web browsers. I have a solution that I believe fixes this problem, and therefore helps users keep their history private when they use a Web browser implementing that solution. How CSS can be used to query a user's browser history Before describing the details of the solution, I'd like to describe the details of the problem. Limits of proposed solution Effects on Web pages Proposed solution relevant link.
CSS Circles. A while back I shared a clever technique for creating triangles with only CSS.
Over the past year, I've found CSS triangles incredibly effective, especially when looking to create tooltips or design elements with a likewise pointer pattern. There's another common shape that's easy to create, and that is the circle. Using border-radius, you can create wonderful CSS circles. Setting the border-radius of each side of an element to 50% will create the circle display at any size: It's really that simple...but I can't let this post go without touching on CSS gradients and basic spin animation: Voila. CSS circles don't immediately appear as useful as CSS triangles, but they surely have value within design. An Introduction To Object Oriented CSS (OOCSS) - Smashing Coding. Advertisement We explore how to craft flexible front-end design patterns and making future-proof and accessible interfaces without extra effort.
320 and up. Compass Documentation. Instant CSS Documentation Search. CSS3 Generator - By Eric Hoffman & Peter Funk. How To Create an IE-Only Stylesheet. Selectors. 5.1 Pattern matching In CSS, pattern matching rules determine which style rules apply to elements in the document tree.
These patterns, called selectors, may range from simple element names to rich contextual patterns. If all conditions in the pattern are true for a certain element, the selector matches the element. The case-sensitivity of document language element names in selectors depends on the document language. The following table summarizes CSS 2.1 selector syntax: 5.2 Selector syntax simple selector is either a type selector or universal selector followed immediately by zero or more attribute selectors, ID selectors, or pseudo-classes, in any order. Note: the terminology used here in CSS 2.1 is different from what is used in CSS3. Selector is a chain of one or more simple selectors separated by combinators. Combinators are: white space, ">", and "+".
The elements of the document tree that match a selector are called subjects of the selector. 5.2.1 Grouping Example(s): is equivalent to: [att]