Slice onions and cucumbers and layer them by turns in a stainless steel pan.
Mix together vinegar, sugar, and salt.
Pour liquid over cucumbers and onion.
Let mixture sit in refrigerator for six or more hours.