Search code examples
javascripthtmlioscsswebkit

css webkit column access to single column


I have multi-column layout using -webkit-column-* properties.

Is it possible to specify css rules for some specific column? Or better, I would like to have columns wrapped in div element, so I could access them via javascript.

This is for iOS so only -webkit* solution would be OK.


Solution

  • No, I do not believe this is possible (though it probably should be).

    This question was asked in a similar manner here: Is it possible to target CSS3 columns individually with selectors?

    You can take a look a the WC's Multi-Column Recommendation here: http://www.w3.org/TR/css3-multicol/

    I would look for a javascript solution.