granica CSS z boku

.three-sides {
  border: solid green; 
  border-width: 2px 0 2px 2px;
}
Frantic Fowl