Template:Cslist/styles.css

From Vigyanwiki
< Template:Cslist
Revision as of 17:41, 15 December 2018 by m:template>RexxS (apply style to ul container)
/* make an inline list with comma seperators */
ul.cslist {
    padding: 0;
    display: inline;
    list-style: none;
}
.cslist li {
    margin: 0;
    display: inline-block;
}
.cslist li:after {
    content: ", ";
}
.cslist li:last-child:after {
    content: none;
}