Skip to content

An easy mixin to create a triangle in CSS3 with LESS

Notifications You must be signed in to change notification settings

hagmandan/less-triangle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

less-triangle

An easy mixin to create a triangle in CSS3 with LESS.

Usage

    .triangle(@direction, @size, @color)
  • @direction defines the direction: up, down, left or right.
  • @size defines the size
  • @color defines the color

Example

.dropdown {
    &:after {
        .triangle(down, 5px, #fff);
    }
}

About

An easy mixin to create a triangle in CSS3 with LESS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published