Things to avoid when using CSS:
1. Avoid Superfluous Selectors
Choose the shorter and simpler CSS declarations
Ex. If you’re code is
ul li { ... }
ol li { ... }
table tr td { ... }
instead you can simplify it as:
li { ... }
td { ... }
<li> will exist within <ol> or <ul> and <td> will be inside <table> and <tr> so there is no need to necessary re-insert them.
2.Avoid using <table>, and use <div> instead
Things to avoid when using CSS
Things to avoid when using CSS:
1. Avoid Superfluous Selectors
Choose the shorter and simpler CSS...
css things to avoid
Also tagged with one or more of these keywords: css, things to avoid
Web Design →
CSS / HTML →
Dark Theme For DCStarted by YAD, 23 Nov 2020 dark theme, css |
|
|
||
Designer's Resources →
Tutorials →
Creating a Form in CSS and JQUERYStarted by Salwa, 16 Jul 2014 create form, css, jquery |
|
|
||
Web Design →
CSS / HTML →
CSS Regions and Media QueriesStarted by SmartWeb, 13 Dec 2013 css, regions and media queries |
|
|
||
Software →
Adobe Illustrator →
Ask any Question about Adobe Illustrator...here...Started by walnzo3, 16 Oct 2013 css, regions and media queries |
|
|
||
Web Design →
CSS / HTML →
Centering an Image in CSSStarted by Ammar11, 04 Apr 2013 centering image, css |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users