Do not use JavaScript to achieve an ordinal table interlaced color effect _ experience Exchange
Source: Internet
Author: User
<textarea id="runcode12061"><style>. test{border:1px solid #000; color: #333; font:12px;}. Test ol li{padding-left:5px; background-color:e Xpression (this.sourceindex%2? ' #efefef ': ' #fefefe '); } </style> <ol> <li> freedom of the Buddha </li> <li> Blessings </li> <li> shabbiness The five aggregates are empty </li> <li> all bitterness </li> <li> Relic </li> <li> non-empty </li> <li> space-color </li> <li> Color is both void </li> <li> null is both color </li> <li> wanted to do </li> <li> and then </li> <li> Relic </li. > <li> is the law and air phase </li> <li> deathless </li> <li> non-fouling </li> <li> no increase no minus </li> < Li> is therefore the air colorless </li> <li> non-wanted to do knowledge </li> </ol></textarea>
[Ctrl + A full selection Note: If you need to introduce external JS need to refresh to execute]
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service