Tip Tuesday - Creating custom CSS for JET UIs
If you are new to creating CSS, here are some tips and best practices:
- Classes can be reused as needed throughout your site. In CSS a class name always begins with a ".Example: '.group-list'
- ID tags are used to designate a unique element such as the individual attributes and actions that are only used once on a page. In CSS an ID name always begins with a "#"Example: '#attrib837’
- Elements are the standard HTML components
- Examples:
- h1 = Heading 1
- p = paragraph
- td = table cell
- Observe best practices regarding Class and ID naming conventions. Always use lower case. Always begin with a letter (CSS rules allow you to begin with an underscore_ but this is not a best practice and should be avoided)
Tagged:
0