The design I am working to has different backgrounds for alternate columns. Is it possible to set up different tiling backgrounds for each column,
e.g.
column:nth-child(n+1) {background:url(tile1.gif) repeat-x; }
Or do I have to fall back on a huge background image that tiles every two columns?
CSS Multi-column Propertiescolumn-gap. column-rule-style. column-rule-width. column-rule-color.
The target selector is used to represent a unique element (the target element) with an id matching the URL's fragment. It can be used to style the current active target element. URLs with a # followed by an anchor name link to a certain element within a document. The element being linked to is the target element.
Unfortunately you cannot change the color of the columns:
It is not possible to set properties/values on column boxes. For example, the background of a certain column box cannot be set and a column box has no concept of padding, margin or borders.
From w3.org: 2. The multi-column model
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With