Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

General

Modifiable markup should be as simple as possible.  HTML that has been copied from other sites and pasted into uPortal may not render correctly if the markup depends upon external CSS definitions and/or javascript that is not available to uPortal.

CSS Naming Conventions

Best Practices

  • Use classes instead of ids whenever possible
  • Separate class names by dashes as opposed to underscores
  • Prefix classes with namespace
  • Class names should be semantic rather than stylistic
    • class="portlet-titlebar" rather than class="big-red-bar"

Reference

Bootstrap CSS

uPortal 4.1x and 5.0 include bootstrap, so and markup that depends on bootstrap CSS classes should render as expected.

Reference

 

 

 

  • No labels