cerotis Posted June 23, 2013 Share Posted June 23, 2013 Hi I'm trying to get effect such as the picture. Rectangle connected with triangle + gradient opacity. Is it possible ? Thx for help Link to comment Share on other sites More sharing options...
newseed Posted June 24, 2013 Share Posted June 24, 2013 Give this a look. I believe it will give you all the possibilities. Keep in mind though that CSS3 is not fully supported especially for IE9 or earlier. Link to comment Share on other sites More sharing options...
Ingolme Posted June 28, 2013 Share Posted June 28, 2013 You can make the gradient the background of a box and create two boxes with white borders and position them to the bottom left and bottom right to cover up the part of the gradient you don't want to see. Here's an example of a CSS triangle: div {width: 0;height: 0;border: 50px solid;border-color: transparent red red transparent;} <div></div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now