Define custom list-style-type in CSS -


i want ask, if possible (something font-face). example:

@list-style-type {   list-style-image: 'mycustomstyle';   src: url('url-to-image'); }  ul {   list-style-type: mycustomstyle; } 

is there that? know can classes on element , set custom image, not point. have issue company , nice.

in css defined , implemented, cannot. values of list-style-type property set of keywords, different in different specifications , implementations, syntax not allow custom values added.

there work in progress define css lists , counters module level 3, extend syntax , semantics, allow custom values defined in @counter-style rules, using constructs designed part of css counter styles level 3. planned include possibility of defining named value uses custom image, or construct contains custom image part of it. far, seems there no implementations of in released versions of browsers.


Comments

Post a Comment

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -