Join the DZone community and get the full member experience.
Join For Free
Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management, brought to you in partnership with Stormpath.
I needed a short line in my HTML UI. Turns out, you can do it with CSS. Here's the code that draws the specific line I needed:
position:absolute; left:77px; top:8px;
-ms-transform:rotate(27deg); /* IE 9 */
-webkit-transform:rotate(27deg); /* Safari and Chrome */
And here's a general-purpose kit for drawing lines a lot, which provided the clues I needed:
So now you know.
The Web Dev Zone is brought to you by Stormpath—offering a complete, pre-built User Management API for building web and mobile applications, and APIs. Download our new whitepaper: "Build Versus Buy: Customer Identity Management for Web and Mobile Applications".
Published at DZone with permission of
, DZone MVB
Opinions expressed by DZone contributors are their own.