diagonal.js is a minimal jQuery plugin to draw a responsive diagonal line through a container element that automatically adapts to the width of the container on window resize.
對角線
Draw A Diagonal Line Through A Box - jQuery diagonal.js