<!DOCTYPE html> <style> div { width: 100px; height: 100px; border-left: 10px solid; -moz-border-left-colors: red green; } </style> <div></div>