clip-path seems very powerful ! borders and linear-gradient can be used to create triangle though
clip-path
borders
linear-gradient