Socket
Socket
Sign inDemoInstall

less-triangle

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

less-triangle

less mixins to generate css triangle


Version published
Maintainers
1
Created
Source

less-triangle

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

Usage

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

Example

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

FAQs

Package last updated on 08 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc