简体   繁体   中英

Workflowy - Stylebot - Is there a way to style css tag where a particular tag/item starts with xxx (e.g. “[ ]” or “evernote://” characters?

Trying to style my Workflowy in Stylebot atm.

I use something like [ ] to denote a tasks (not everything stored in my Workflowy are "tasks") and am wondering if there's a way to code the CSS such that it applies to bullet items that begin with "[ ]" only?

Please try this:

<html>
<head>   
<style>
.a-checkpoint-list ul{

  list-style-type: none;
 }

  li:before {
  content: "[]";
  padding-right: 5px;
}
</style>
 </head>
 <body>
<div class="a-checkpoint-list">
    <ul>
        <li>Test 1</li>
        <li>Test 2</li>
        <li>Test 3</li>
        <li>Test 4</li>
    </ul>
</div> 
</body>
</html>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM