引用欄テスト
img {
object-fit: cover;
aspect-ratio: 1 / 1;
height:48%;
width:48%;
max-height: 100%;
max-width: 100%;
}
/* 修正版 */
img {
object-fit: cover;
aspect-ratio: 1 / 1;
height:auto;
width:100%;
max-width: 48%;
}
/*アコーディオンメニューの装飾*/
summary{
font-weight: bold;
}
details{
border-radius:0.5rem;
padding: 0.15em 0.5em;
border:5px solid # 5977b3;
}
details[open]{
height:auto;
background:# 5977b3;
border-radius:0.5rem;
padding-bottom:4px;
}
.foldedarea{
background:# 17253D;
border-radius:0.5rem;
padding: 0.5em 0.8em;
}
HTML&Javascript(onclickの後の=は全角表示している)
<div class="scrollBtns">
<!-- 上端移動 -->
<a href="#" onclick="scrollbtn(0); return false;">
<span class="arrow">▲</span>
</a>
<!-- 下端移動 -->
<a href="#" onclick="scrollbtn(9999999); return false;">
<span class="arrow">▼</span>
</a>
</div>
<script>
// ページ上端下端移動
function scrollbtn( scpos ) {
window.scrollTo({ top: scpos, left: 0, behavior: 'smooth' });
}
</script>
CSS(PCとスマホで別々に設定、スマホ版を記載)
/*ページ上端下端移動*/
.scrollBtns{
position: fixed; /* 出力位置固定 */
bottom: 1rem;
right: 1.5rem;
max-weight:3em
}
.scrollBtns a{
display: inline-block;
margin: 3px 0;
padding: 0.4em 1em;
border-radius: 0.5em;
opacity: 0.6; /* 不透明度 */
text-decoration: none;
text-align: center;
letter-spacing:0 /* 中央揃え用 */
}
.arrow{
display:block;
font-size:1.1em;
}

meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
.example{
content: "\2748";
}
漢字を開くキャラと開かないキャラがいるので、改めてまとめたいな〜。ぼんやりした記憶とノリで、同キャラの視点なのにバラバラになっている。