javascript - FullCalendar Scheduler : Parallelogram Shaped Events -
i change event shape square parallelogram, see image below example:
i tried changing css
.fc-event-container{ background-color:rgba(2,2,2,0.9); float:left; skew -webkit-transform: skew(-60deg); -moz-transform: skew(-60deg); -o-transform: skew(-60deg); transform: skew(-60deg); }
but distorted event container, see image
using info here how skew element keep text normal (unskewed)
.fc-content { skew -webkit-transform: skew(60deg); -moz-transform: skew(60deg); -o-transform: skew(60deg); transform: skew(60deg); }
seems work
https://jsfiddle.net/qjls3tfa/
the float: left may cause shrink event though seen in month view in fiddle
Comments
Post a Comment