トミー hoverで回転(修正版)
CSS
<!DOCTYPE html>
<html lang="ja">
  <head>
    <meta charset="utf-8" />
    <title>hoverで回転(修正済み)</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style type="text/css">
      .rotate_test {
        transform: rotateX(0deg); /* 軸を基準点に回転する */
        height:20px;
        width:20px;
      }
      .rotate_test:hover {
        transform: rotateX(180deg); /* 軸を基準点に回転する */
      }
      .rotate_test , .rotate_test:hover {
        transition: transform 0.5s linear;
        transform-origin:10 0;
        display:inline-block;
      }      
    </style>
  </head>
  <body>
    <div class="rotate_test">
      <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg">
        <rect x="0" y="0" width="20" height="20" fill="aqua"/>
        <line x1="0" y1="0" x2="10" y2="20" style="stroke:rgb(0,0,0);stroke-width:1"></line>
        <line x1="10" y1="20" x2="20" y2="0" style="stroke:rgb(0,0,0);stroke-width:1"></line>
      </svg>
    </div>
  </body>
</html>
anonymous これでcssの外部スタイルシートがあたりません。なぜでしょうか?
CSS
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5833778420892403"
     crossorigin="anonymous"></script>
     <link rel="stylesheet" href="style.css">   
</head>
<body>
  <h1 class="ddd">こんにちわです</h1>
</body>
</html>
anonymous No title
CSS
/*  コモン  */

body {
    overflow-x: hidden;
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    color: #302D2C;
}

/* ヘッダーセクション */

header {
    background-color: #F5F4F8;
    width: 100vw;
    height: 100vh;
    position: relative;
    /* z-index: 0; */
}

.fv-img {
    background-image: url(../images/portfolio_nenga_1c.webp);
    background-size: cover;
    width: 61.5vw;
    height: 73vh;
    position: absolute;
    bottom: 0;
    right: 0;
    /* z-index: 0; */
}

header h1 img {
    width: 72vw;
    position: fixed;
    z-index: 1;
}

/* ドロワー */

#drawer-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 50px;
    display: flex;
    right: 0;
    top: 0;
    z-index: 100;
}

#drawer-btn span {
    background-color: #302D2C;
    width: 50px;
    height: 4px;
    position: absolute;
    transition: 0.2s;
}

#drawer-btn span:nth-of-type(1) {
    top: 0;
}

#drawer-btn span:nth-of-type(2) {
    top: 18px;
    background-color: #CE1D14;
}

#drawer-btn.open span {
    width: 50px;
    top: 0;
}

#drawer-btn.open span:nth-of-type(1) {
    transform: rotate(225deg);
}

#drawer-btn.open span:nth-of-type(2) {
    transform: rotate(-225deg);
}

/* ナビゲーション */

.gl-navi {
    position: absolute;
    background-color: #f5f4f8d4;
    transition: right 0.5s;
    right: -100%;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-navi li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(3rem, 1.8rem + 6vw, 12rem);
    line-height: clamp(10rem, 3rem + 8vw, 17rem);
    letter-spacing: 1rem;
}

.gl-navi li:hover {
    color: #CE1D14;
    transition: 0.2s;
}

.gl-navi.nav-open {
    right: 0;
}
anonymous No title
CSS
.card__header {
  color: var(--text);
}

/* with @scope becomes */

@scope (.card) {
  header {
    color: var(--text);
  }
}
トミー hoverで回転
CSS
<!DOCTYPE html>
/* 回転軸からずれてるように見えます。何故? */
<html lang="ja">
  <head>
    <meta charset="utf-8" />
    <title>hoverで回転</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style type="text/css">
      .rotate_test {
        transform: rotateX(0deg); /* 軸を基準点に回転する */
      }
      .rotate_test:hover {
        transform: rotateX(180deg); /* 軸を基準点に回転する */
      }
      .rotate_test , .rotate_test:hover {
        transition: transform 1s linear;
        transform-origin:10 0;
        display:inline-block;
      }      
    </style>
  </head>
  <body>
    <div class="rotate_test">
      <span>
      <svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
        <rect x="0" y="0" width="200" height="200" fill="aqua"/>
        <line x1="0" y1="0" x2="100" y2="200" style="stroke:rgb(0,0,0);stroke-width:1"></line>
        <line x1="100" y1="200" x2="200" y2="0" style="stroke:rgb(0,0,0);stroke-width:1"></line>
      </svg>
      </span>
    </div>
  </body>
</html>
anonymous No title
CSS
@charset "utf-8";

/*ナビゲーションの固定*/

nav{
/*stickyで固定*/
position: -webkit-sticky;/*Safari*/
position: sticky;
/*固定したい位置*/
top: 100px;
/*ナビゲーションの形状*/
background:#fff;
padding: 20px;
height:1200px;

}

/*レイアウトのためのCSS*/
#container{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}

#main-area{
width:90%;
}

#sub-area{
width:5%;
padding: 0px 20px 0 0;
}

.g-navi{
position:fixed;
vertical-align: bottom;
}

でできんんんんん!!!!
anonymous No title
CSS
html::-webkit-scrollbar, #copy-element::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}

html::-webkit-scrollbar-thumb, #copy-element::-webkit-scrollbar-thumb {
    background-color: #bbb5eb;
    border-radius: 8px;
}

html::-webkit-scrollbar-track, #copy-element::-webkit-scrollbar-track {
    background: #f6f2e9;
}
anonymous No title
CSS
/*
 ページ全体のフォント設定
*/
html {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", "sans-serif";
  font-size: 13px;
  line-height: 160%;
  color: #333;
}
/*
すべてのブラウザ用に、デフォルトのマージンを取り除く。
*/
body {
  margin: 0;
}

/*
IE9+用に、displayプロパティを定義。
1. Edge, IE, Firefox用、details要素とsummary要素に「display: block;」を定義。
2. IE, Firefox用、main要素に「display: block;」を定義。
*/

article,
aside,
details, /* 1 */
figcaption,
figure,
footer,
header,
main, /* 2 */
menu,
nav,
section,
summary { /* 1 */
display: block;
}

/*
IE9+用、displayプロパティを定義。
*/

audio,
canvas,
progress,
video {
display: inline-block;
}

/* Clearfix */
.clearfix:after {
  content:" ";
  display:block;
  clear:both;
}

/* 追加マージン */
.mb5 {margin-bottom: 5px !important;}
.mb10 {margin-bottom: 10px !important;}
.mb15 {margin-bottom: 15px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb40 {margin-bottom: 40px !important;}

strong {
  color: #FF5722;
}

em {
  font-weight: bold;
  text-decoration: underline;
}

/*****************************************
レイアウト関連
******************************************/

/* wrapper関連
**********************/



.wrapper {
  width: 100%;
  margin: 0;
}

.row1 {
  border-top: 3px solid #263238;
  background: url(../images/bg_head.gif);
}
.row2 {
  background: #263238;
}
.row3 {
  background: #ECEFF1;
  margin-bottom: 13px;
  padding: 13px 0;
}.row4 {
  margin-top: 20px;
}
.row5 {
  background: #263238;
}/* ヘッダー
**********************/
/* グローバルナビゲーション
**********************/
#g_navi {
    width: 960px;
    margin: 0 auto;
}
 
/* メインビジュアル
**********************/
#mainvisual {
    width: 960px;
    margin: 0 auto;
}
 
/* メインコンテンツ
**********************/
main {
    width: 960px;
    margin: 0 auto;
}

#main_contents {
  float: left;
}

/* サイドメニュー
**********************/
#side_contents {
  float: right;
}
anonymous No title
CSS
html{
  /* font-family: Lato, "Hiragino Maru Gothic Pro", "Meiryo UI", Meiryo, "MS PGothic", sans-serif; */
  font: 100%/1.5 'Avenir Next', 'Hiragino Sans', sans-serif;
  font-weight: 600;
  box-sizing: border-box;
}
header{
  height: 80px;
  display: flex;
  align-content: center;
  justify-content: between;
}
header  a{
  /* text-decoration: none; */
  color: #444444;
}
.header-menu a{
  margin: auto 30px;
  display: block;
}
header>ul>li {
  position: relative;
  padding: 10px 0px;
}
header li:hover ul{
  visibility: visible;
  /* opacity: 1; */
}
.header-menu a:hover{
  color: rgb(255, 166, 0);
  text-decoration: none;
}
.small-menu{
position: absolute;
top: 40px;
left:18px;
background:white;
visibility: hidden;
border: solid 1px;
/* opacity: 0;
transition: 0.3s; */
}
.small-menu li{
  width: 120px;
  padding: 10px;
  /* border: solid 1px; */
  text-align: center;
}
.small-menu a{
  display: block;
  margin: auto;
}
.logo{
  font-size: 24px;
  margin: auto 0px;
}
.header-menu{
  display: flex;
  list-style: none;
  margin: auto 10px auto  auto;
  padding: 0px;
}

.main-image{
  max-width: 1440px;
  /* height: 300px; */
  padding: 80px 0px;
  text-align: center;
  background: url("../img/main-vsual-nontitle.png") center no-repeat;
  background-size: cover;
}

.main-image p{
  max-width: 350px;
  margin: auto;
}
.container{
  width: 100%;
  max-width: 1024px;
  margin: 0px auto;
}
.about{
  height: auto;
  margin: 50px auto;
  text-align: center;
}
.about img{
  max-width: 500px;
  max-height: 500px;
  margin: auto;
}
.title{
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
}
.contents{
  display: flex;  
}
.daytorais{
  margin-left: 20px;
  line-height: 1.8;
}
.course{
  margin: 50px auto;
}
.boxes{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: auto;
}
.col-sm-4{

}
.box{
  margin: auto;
  text-align: center;
}
.course img{
  max-width: 290px;
}
.skil{
  margin: 0 0 10px;
}
.contact{
  margin: 50px auto;
  text-align: center;
}
.copy{
  margin: 0px auto;
  line-height: 1.8;
}
.contact input{
  width: 600px;
  height: 50px;
  border: solid 0.5px gray;
  border-radius: 25px;
}
.contact button{
  width: 400px;
  height: 80px;
  font-size: 24px;
  font-weight: 800px;
  color: white;
  margin: 30px auto;
  background: rgb(255, 95, 31);
  border: none;
  border-radius: 4px;
}

@media(max-width:768px){
  .about img{
    max-width: 100%;
    margin: auto auto 20px;
  }
  .daytorais{
    margin-top: 10px;
  }
  .course img{
    max-width: 220px;
  }
  .contact input{
    width: 100%;
    height: 50px;
    border: solid 0.5px gray;
    border-radius: 25px;
  }
  .contact button{
    width: 100%;
  }
 
}
@media(max-width:425px){
 header{
   height: auto;
 } 
 .header-menu{
  flex-direction: column;
 }
 .main-image h1{
    font-size: 36px;
  }
header span{
    display: block;
  }
  .main-image span{
    display: block;
  }
  .about img{
    max-width: 100%;
    /* max-height: 500px; */
    margin: auto auto 20px;
  }
  .daytorais{
    margin-top: 10px;
  }
  .course img{
    max-width: 220px;
  }
  .contact input{
    width: 100%;
    height: 50px;
    border: solid 0.5px gray;
    border-radius: 25px;
  }
  .contact button{
    width: 100%;
  }
 
}
anonymous No title
CSS
.num {
    font-size: 42px;
    height: 80px;
    width: 80px;
    border-radius: 50px;
    margin: 6px;
    border: none;
    background-color: rgb(219, 219, 219);
}

.big_num {
    font-size: 42px;
    height: 80px;
    width: 180px;
    border-radius: 50px;
    margin: 6px;
    border: none;
    background-color: rgb(219, 219, 219);
}

.show_input {
    width: 280px;
    height: 60px;
    margin-bottom: 20px;
    font-size: 42px;
}

.delete {
    font-size: 42px;
    height: 60px;
    width: 80px;
}

.tel {
    text-align: center;
    padding: 40px;
    height: 550px;
    width: 420px;
    background-color: rgb(255, 254, 181);
}
Don't you submit code?
Submit