JSFiddle - React, Tailwind, and code Playground

by syltech

HTML

<ol style="list-style-position: inside; list-style-type:upper-alpha;">
    <input type="checkbox" /><li>This is a very long line of text describing something that could or maybe should happen if the Packers win the Super Bowl.  Gosh I love the Packers.  I really love the Packers.  I'd do anything for the Packers.
    </li>
    <li>
        <input type="checkbox" /> This would be another very long line of text.  I wish the Twins would not have traded Denard Span for a "pitching prospect."  Goodness knows we have enough trouble with both pitching and hitting, but Span was a bright spot in a dismal line-up.<br/>
    </li>
    <li>
        <input type="checkbox" /> What might happen is Aaron Rodgers decides to do a Bo Jackson and starts pitching <strong>AND</strong> hitting for the Twins.  This is unlikely, since he's from California or something and has no allegiance to Minnesota, or baseball for that matter, so far as I know.
    </li>
</ol>

CSS

ol {
    margin:0px;
    padding-left:15px;
}
ol li {
    margin: 0px;
    padding: 0px;
    text-indent: -1em;
    margin-left: 1em;
}
ul {
    margin:0;
    padding-left:30px;
}
ul li {
    margin: 0px;
    padding: 0px;
    text-indent: 0.5em;
    margin-left: -0.5em;
}