- Principle one: The fewer CSS definitions the better
- Principle two: Come in with a simple HTML code structure like <ul><li>
- Principle three: Naming as much as possible with CSS pseudo-class
- Principle four: A module CSS name cannot exceed three
The wording to be corrected:
<divclass="Fenglei"> <divclass="fenglei_1 Text-center"> <divclass="FLF"><a href="/WIDGET?ID=YMSPFL">"~/wwwroot/static/images/ymimg/f5.png"/><BR/><span> Product Categories </span></a></div> <divclass="FLF"><a href="/WIDGET?ID=YMQD">"~/wwwroot/static/images/ymimg/f3.png"/><BR/><span> sign-in points </span></a></div> <divclass="FLF"><a>"~/wwwroot/static/images/ymimg/f1.png"/><br/><span> Share </span></a></div> <divclass="FLF"><a href="/WIDGET?ID=YMQHB">"~/wwwroot/static/images/ymimg/f2.png"/><br/><span> Rob Red Envelopes </span></a></div> <divclass="FLF"><a href="/widget?id=ymxrzq">"~/wwwroot/static/images/ymimg/f4.png"/><br/><span> New Zone </span></a></div> <div style="Clear:both;"></div> </div> </div>
To modify the following wording:
<divclass="Mainnav"key="ZKCloud.Web.Widgets.Core.Common.MainNav.MainNav"Area=" on"> <ul>@foreach (varIteminchlist) { <li> <a href="@item. URL"target=""title="@item. Title"> <iclass="@item. Icon"></i>@item. Name</a> </li> } </ul></div>
Module Production Standard Description