Flag of Switzerland which was based on a white cross design. These flags usually showed a white cross drawn to the edge of the field in front of a background striped in the respective cantonal colours. From this type, the "flammé" military flag develops in the 17th century, which also came to be used by Swiss mercenary regiments by the end of the 17th century. The "flammé" design remained popular for military flags of the 18th and 19th centuries. A "flammé" flag was introduced as ordonnance for the Bernese troops in 1703. After the invasion of 1798, the authorities of the Helvetic Republic
Flag of Switzerland squares until 1889, when its dimensions were officially set. The civil and state ensign of Switzerland, used by Swiss ships, boats and non-governmental bodies, is rectangular in shape and has the more common proportions of 3:2. The Swiss flag is one of only two square sovereign-state flags, the other being the flag of Vatican City. The emblem of the Red Cross is the Swiss flag with switched colours. According to the 2017 flag law (SR 232.21), "The Swiss flag shows a Swiss cross on a square background". Special provisions are made for the naval ensign and for civil aircraft identification.