diff --git a/index.html b/index.html index 5dd71ab..a189a9d 100755 --- a/index.html +++ b/index.html @@ -22,6 +22,9 @@ img { width: 25%; /* Image width */ border: 0; /* For IE */ + /* Aspect ratio of image, gives initial dimension to prevent text moving down once image is loaded */ + /* When changing logo, change this also */ + aspect-ratio: 125 / 50; } #main { vertical-align: middle; diff --git a/index.svg b/index.svg index f45318a..cbdde44 100755 --- a/index.svg +++ b/index.svg @@ -19,6 +19,9 @@ img { width: 25%; /* Image width */ border: 0; /* For IE */ + /* Aspect ratio of image, gives initial dimension to prevent text moving down once image is loaded */ + /* When changing logo, change this also */ + aspect-ratio: 125 / 50; } #main { vertical-align: middle;