Template:Cslist/styles.css: Difference between revisions

From Vigyanwiki
< Template:Cslist
(start with styles disabled)
 
(enable)
Line 1: Line 1:
/*
/* make an inline list with comma seperators */
.cslist ul {
.cslist ul {
     margin: 0;
     margin: 0;
Line 14: Line 14:
     content: none;
     content: none;
}
}
*/

Revision as of 17:19, 15 December 2018

/* make an inline list with comma seperators */
.cslist ul {
    margin: 0;
    padding: 0;
}
.cslist li {
    margin: 0;
    display: inline-block;
}
.cslist li:after {
    content: ", ";
}
.cslist li:last-child:after {
    content: none;
}