I think using a background gradient with a hard transition is a very clean solution:
.diagonal-split-background{
background-color: #013A6B;
background-image: -webkit-linear-gradient(30deg, #013A6B 50%, #004E95 50%);
}
More Related Contents:
- Transitions on the CSS display property
- Use CSS3 transitions with gradient backgrounds
- CSS3 background image transition
- css3 transition animation on load?
- Prevent flicker on webkit-transition of webkit-transform [duplicate]
- CSS 3 slide-in from left transition
- Transition background-color via slide animation
- How can I transition width of content with width: auto?
- Hover effect : expand bottom border
- Simulating transform-origin using translate
- CSS transition shorthand with multiple properties?
- Using CSS transitions in CSS Grid Layout
- Pure CSS scroll animation
- Spin or rotate an image on hover
- CSS3 transition on click using pure CSS
- CSS transition with visibility not working
- CSS transition auto height not working [duplicate]
- Animating max-height with CSS transitions
- CSS how to make an element fade in and then fade out?
- How can I transition height: 0; to height: auto; using CSS?
- CSS3 Transition – Fade out effect
- Flip a 3D card with CSS
- Less CSS: Mixins with Variable Number of Arguments
- Delay mouseout/hover with CSS3 transitions
- when scaling an element with css3 scale, it becomes pixelated until just after the animation is complete. I’m animating an element with a border
- CSS transition between left -> right and top -> bottom positions
- CSS transition fade in
- Image moves on hover when changing filter in chrome
- Why does enabling hardware-acceleration in CSS3 slow down performance?
- Turning off Twitter Bootstrap Navbar Transition animation