トップ・ページの表示 注意書きの表示 掲示板に書き込む前に必ず この ”注意書き”を お読み下さい.

"T3T"掲示板(Twilight(トワイライト) Triath(トライアス)(3) Trim(トリム))

★この掲示板は書き込みを停止いたしました 。
記事の書き込みはリンク・ページの表示 http://ashtarte.hotcom-web.com/utf8/smt.cgi?r+rpr/ を ご利用 下さい。

   
   

ページの表示順:{ 新しい順/ 古い順}.
初期・ページの表示・位置:{ 先頭ページ/ 末尾ページ}.
1ページ内のスレッド表示数:







<Number>: [00000321]  <Date>: 2022/05/05 10:02:38
<Title>: CSSデモ/画像「transition、transform、rotateY 3D」(001)
<Name>: amanojaku@管理人

[Rotate3D]ボタンをONにすると、画像が(3D的に)Y軸で180度 回転する。
[Rotate3D]ボタンがOFFなら、マウス・カーソルを画像にhoverすれば、画像が(3D的に)Y軸で180度 回転する。

実際のページ
http://xd305417.html.xdomain.jp/demo/Img_RotateY3D_001


<!DOCTYPE html>
<html lang="ja">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width">
  <link rel="preload" href="img063.jpg" as="image">
  <title></title>
  <style>
    .Container {
      display: flex;
      justify-content: center;
    }

    .Sstage3D {
      display: inline-block;
      perspective: 50vw;
    }

    .Transform_Rotate3D {
      display: inline-block;
      transform: rotateY(0deg);
      transition: transform 1s linear
    }

    .Rotate3D_ISwitch:checked+label+* .Transform_Rotate3D {
      transform: rotateY(180deg);
    }

    .Sstage3D:hover>.Transform_Rotate3D {
      transform: rotateY(180deg);
    }

    .ContentSize {
      width: 50vw;
      /*height: 36.238vw;*/
    }

    .Rotate3D_LSwitcher {
      box-sizing: border-box;
      border: solid thin #000;
      border-radius: 0.5rem;
      padding: 0.25rem;
      margin: 0.25rem;
      user-select: none;
      white-space: nowrap;
      font-weight: bold;
      color: #fef;
      background: #0bb;
    }

    .Rotate3D_ISwitch:checked+label {
      font-weight: bold;
      color: #767;
      /*#0f7 #8f8 #7f7 #5fb*/
      background: #0f7;
    }

    .D000_Rotate3D_ISwitch+label:hover {
      font-weight: bold;
      color: #767;
      /*#0ee #bef #aef #ede*/
      background: #0ee;
    }

    .Rotate3D_ISwitch {
      display: none;
    }

  </style>
</head>
<body>
  <input id="TUnit-001" type="checkbox" name="TUnit-001" class="Rotate3D_ISwitch">
  <label class="Rotate3D_LSwitcher" for="TUnit-001">Rotate3D</label>
  <div class="Container">
    <div class="Sstage3D">
      <img src="img063.jpg" class="Transform_Rotate3D ContentSize" alt="img063.jpg">
    </div>
  </div>
</body>
</html

Block( Address 00000326 Identity 00000321 )






ページの表示順:{ 新しい順/ 古い順}.
初期・ページの表示・位置:{ 先頭ページ/ 末尾ページ}.
1ページ内のスレッド表示数:

   
   

管理者用 Password:

  




SMT Version 8.022(+A) Release M6.
Author : amanojaku.