Template:Cslist/styles.css: Difference between revisions

From Vigyanwiki
< Template:Cslist
(enable)
(apply style to ul container)
Line 1: Line 1:
/* make an inline list with comma seperators */
/* make an inline list with comma seperators */
.cslist ul {
ul.cslist {
    margin: 0;
     padding: 0;
     padding: 0;
    display: inline;
    list-style: none;
}
}
.cslist li {
.cslist li {

Revision as of 17:41, 15 December 2018

/* 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;
}