3

I'm using bootstrap to create my buttons, and I want to add a left or right point arrow to some of them but I want to be able to just add a class instead of creating extra markup to add the arrow. I'm currently using ::after and ::before to create the arrow, but I can't make the tip round, neither I can add the border bottom that my button has in order to make it look consistent. here's the codepen

http://codepen.io/mindgrinder/pen/nIfGy

1

3 Answers 3

0

I'm unsure if this is ideal, but it's a try: http://codepen.io/anon/pen/JFaxK I've used a CSS transform to achieve the effect. The only issue is the :after box is not being placed being the button. Tweaking is needed!

Sign up to request clarification or add additional context in comments.

Comments

0

Here's the CodePen: http://codepen.io/anon/pen/gawIJ

What I did was quite simple, just 3 lines of CSS code.

margin-left:-20px;
border-radius: 35px 30px 30px 30px;
-webkit-transform:rotate(180deg);

The result

enter image description here

1 Comment

yeah not what I was looking for. I need an arrow point but the point of the arrow needs to be slightly rounded not pointy.
0

so this is what I ended up doing which worked perfectly

http://codepen.io/mindgrinder/pen/nIfGy

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.