Skip to content

fabianmebus/xing-css-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XING CSS Icons

XING icons build just with CSS.

To put a link to your XING profile on your website using an icon, you could use an image or to save an http request you can replace the image with some HTML and CSS. So, here you will find the HTML and CSS for different XING icons.

How to Use It

There is one CSS file for each icon variation. Check out the markup below and copy the CSS code of the icon you prefer into your CSS.

Inline

To place the icon inline with a span element, use the following markup:

<span class="icon-xing">
  <a href="XING_PROFILE_URL" target="_blank" rel="me" aria-label="XING profile"></a>
</span>
<!-- or for the light variation  -->
<span class="icon-xing-light">
  <a href="XING_PROFILE_URL" target="_blank" rel="me" aria-label="XING profile"></a>
</span>

Lists

To place the icon in a list element, use the following markup:

<ul>
  <li class="icon-xing">
    <a href="XING_PROFILE_URL" target="_blank" rel="me" aria-label="XING profile"></a>
  </li>
  <!-- or for the light variation  -->
  <li class="icon-xing-light">
    <a href="XING_PROFILE_URL" target="_blank" rel="me" aria-label="XING profile"></a>
  </li>

</ul>

Browser Support

The CSS3 property transform and the transform-function skewX() are the key to render the icons. Here you will find the support for the transform property.

Known Issues

There are problems with the precise rendering when certain font sizes are applied. This is caused by rounding issues.

License

It's all yours under MIT.

About

Xing icon build just with css.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages