VOOZH about

URL: https://www.geeksforgeeks.org/css/primer-css-branch-name/

โ‡ฑ Primer CSS Branch name - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Primer CSS Branch name

Last Updated : 28 May, 2025

Primer CSS is a free open-source CSS framework that is built upon systems that create the foundation of the basic style elements such as spacing, typography, and color. This systematic method makes sure our patterns are steady and interoperable with every other. Its approach to CSS is influenced by Object-Oriented CSS principles, functional CSS, and BEM architecture. It is highly reusable and flexible. It is created with GitHubโ€™s design system.

In this article, we will learn about Primer CSS Branch Name. Primer CSS Branch Name is used to provide a background color to any text/link. It is mainly used to provide branch names to an independent branch of the repository/project.

Branch name Used Class:

  • branch-name: This is used to provide a background color to any text/link. 

Syntax:

<a href="#url" class="branch-name">
Text/Branch Name
</a>

Example 1: In this example, we will create two branch names with 2 buttons.

Output:

๐Ÿ‘ Image
 

Example 2: In this example, we use CSS icons along with some text, to create a branch name.

Output:

๐Ÿ‘ Image


Comment