Links

bitbucket Report an Issue Slack Join the Slack Discussion

Links perform an operation that direct users to a page that is different from the current page they are visiting. UCLA has two different inline body links for light and dark backgrounds.

Inline

This is an example of an inline link on light background.

This is an example of an inline link on dark background.


<h2>Inline</h2>
<div class="ucla">
  <!-- Inline Link (Light Background) -->
  <p>
    This is an example of an <a href="#">inline</a> link on light background.
  </p>

  <!-- Inline Link (Dark Background) -->
  <p style="background: #2774AE; color: white;">
    This is an example of an <a class="white-link" href="#">inline</a> link on dark background.
  </p>

  <br>
</div>

Links In List

<h2 class="mt-24">Links In List</h2>
<div class="ucla">
  <!-- Links In List -->
  <ul>
    <li>...</li>
    <li>
      <a href="#">Link in List</a>
    </li>
    <li>...</li>
  </ul>
</div>

Related Links

<h2 class="mt-24">Related Links</h2>
<div class="ucla">
  <!-- Related Links -->
  <ul class="related-links">
    <li><a href="#">This is an Internal Link</a></li>
    <li><a class="related-links--external" href="#">This is an External Link</a></li>
    <li><a class="related-links--download" href="#">This is a Link to a Download (PDF)</a></li>
  </ul>
</div>