Afternoon all!
我要定期强调一份小小小块浮小块。 基本上,Im试图展示工作流程。 我利用 j,希望:
- Get the first child of the parent div (
#general process
) - Add a class (i.e
highlight
) which changes the CSS - Add a short delay
- Remove the
highlight
class - Find the next child item (if last to return to the first) and repeat steps 2-4
www.un.org/Depts/DGACM/index_spanish.htm 我试图通过这一途径预示我,但继续失败。 谁能提出实现这种 lo死的最佳途径? 事先感谢任何建议!
Here is my current HTML & CSS:
<div id="general_process">
<div class="phase">
<div class="number">1</div>
<h3>Some title</h3>
<p>Content goes here</p>
</div>
<div class="phase">
<div class="number">2</div>
<h3>Some title</h3>
<p>Content goes here</p>
</div>
<div class="phase">
<div class="number">3</div>
<h3>Some title</h3>
<p>Content goes here</p>
</div>
</div>
#general_process {margin: 0; padding: 0; }
#general_process div.phase { float: left; padding: 10px 25px; background: #f9f9f9; width: 254px; border: 1px soild #999999;}