HTMLとCSSに多少知識がついてきた程度の初心者です。レスポンシブルで幅を狭めると、左に配置したロゴがどんどん小さくなり消えていってしまいます。ロゴを同じ大きさのままで表示させたいのですが、そのCSSがわかりません。
最後に消えてしまう画面、
関連するHTMLとCSSですが、
HTML
1 <footer class="footer"> 2 <div class="wrapper"> 3 <a href="rss.xml"><img class="rsslogo " src="images/logo1.png" alt="rss"></a> 4 <p class="copy futo1 order1"ppp><small><a href="blog/privacy-policy/" style="text-decoration: none;">privacy policy</a></small></p> 5 </div> 6 <p class="copy futo order3"ppp><small><a href="index.html">©yukio.asia</a></small></p> 7 <p class="copy futo1 order2"ppp><small><a href="blog/notation-based-on-the-specified-commercial-transactions-law/" style="text-decoration: none;">notation-based-on-the-specified-commercial-transactions-law</a></small></p> 8 </footer>
ロゴのCSS
CSS
1.rsslogo { 2 width: auto ; 3 max-height: 18px; 4 margin-left: 00px; 5 margin-right: 0px; 6 margin-bottom: 0px 7}
フッターのCSS
CSS
1.footer{ 2 display: flex; 3 justify-content: center; 4 padding: 15px 10px; 5 background-color: #FF9932; 6 align-items: flex-start; 7 8} 9 10.wrapper { 11 display: flex; 12 justify-content: end; 13 margin-left: 20px; 14 margin-right: 20px; 15 align-items: flex-end ; 16 17} 18 19.footer> :is(:first-child, :last-child) { 20 flex: 1 1 50%; 21 } 22 23.copy{ 24 margin-left: 20px; 25 margin-right: 20px; 26 text-align: center; 27 font-size: 1.2rem; 28 29}
形とすれば一番上の画像のprivacy policyとロゴが大きさを変えずに、そのまま真ん中の@yukio.asiaの方の右側に多少寄って行くのが理想です。下の画像参照ください。ちなみにこのロゴの元のサイズは幅128 高さ128ピクセルです。
以上となります。どなた様か幅を狭めてもロゴを表示するCSSを教えていただけませんでしょうか?よろしくお願いいたします。
ロゴが画面内にあればなんでもいい、というわけではないと思いますので、どのような表示にしたいのか、ご提示いただけますか?
