Socket
Socket
Sign inDemoInstall

@zendeskgarden/css-arrows

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @zendeskgarden/css-arrows

Garden component CSS


Version published
Weekly downloads
140
increased by28.44%
Maintainers
1
Install size
24.0 kB
Created
Weekly downloads
 

Readme

Source

@zendeskgarden/css-arrows npm version

This package contains styling and positioning classes for .c-arrow.

Installation

npm install @zendeskgarden/css-arrows

Usage

Once installed, arrow CSS can be accessed via postcss-import.

@import '@zendeskgarden/css-arrows';

Arrow CSS classes are used on a parent element (typically menus or tooltips) by applying the base .c-arrow class in addition to a positioning class.

Here's an example of arrows used in conjunction with the .c-menu component that would place an arrow centered at the top of the parent element using the .c-arrow--t positioning class.

<ul class="c-menu c-arrow c-arrow--t" role="menu" aria-hidden="true">
  <li class="c-menu__item" role="menuitem" tabindex="0">Menu Item</li>
</ul>

See http://zendeskgarden.github.io/css-components/arrows/ for a comprehensive demo of the arrow component classes.

Keywords

FAQs

Last updated on 18 Mar 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc