Template:Cslist/styles.css: Difference between revisions

From Vigyanwiki
< Template:Cslist
(need to reset margin)
(sp)
Line 1: Line 1:
/* make an inline list with comma seperators */
/* make an inline list with comma separators */
ul.cslist {
ul.cslist {
margin: 0;
margin: 0;

Revision as of 17:54, 15 December 2018

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