Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <header>
    <div class="top"></div>
    <div class="wapper">
        <a href="./"><img class="mainlogo" src="imges/ks_logo1.png" alt=""></a>
        <a href="./"><img class="mainlogo2" src="imges/ks_logol2.png" alt=""></a>
    </div>
</header>
<main>
    <div class="topnav">
        <nav>
            <ul>
                <li><a href="./">HOME</a></li>
                <li><a href="kaisyaannai.html">*****</a></li>
                <li><a href="seihinsyoukai.html">*****</a></li>
                <li><a href="otoiawase.html">*******</a></li>
            </ul>
        </nav>
    </div>
    <div class="topga">
        <br><br><br><br><br><br><br><br>
        <p>TOP画</p>
    </div>
    <div class="topmongon">
        <h1><span class="aikya">**</span>、<span class="kyatti">**</span>、<span class="kya">**</span>**********。<br>*******************</h1>
        <p><br><br><br>************************<br><br><br><br><br></p>
    </div>    
    <div class="topics">
        <h2>**********</h2>
        <p><br><br><br><br><br><br>**************<br><br><br><br><br></p>
    </div>
    <div class="meinsetumei">
        <h2 class="meinsyousai1">***********</h2>
        <h2 class="meinsyousai"><span class="henkou">***********</span>で<span class="henkou2">************</span>***********、<br>******************。</h2>
    </div>
    <h2 class="topsyoukai">*********</h2>
    <div class="henatuki">
        <ul class="syoukai">
            <li class="syouhin"><p><a href="seihinsyoukai.html">**********</a></p></li>
            <li class="gazou"><img src="imges/IMG_0355-1.png"></li>
        </ul>
        <ul class="syoukai">
            <li class="syouhin2"><p><a href="seihinsyoukai.html">**********</a></p></li>
            <li class="gazou"><img src="imges/IMG_0355-1.png"></li>
        </ul>
        <ul class="syoukai">
            <li class="syouhin3"><p><a href="seihinsyoukai.html">***********</a></p></li>
            <li class="gazou"><img src="imges/IMG_0355-1.png"></li>
        </ul>
    </div>
</main>

<footer>
    <div class="sita">
        <img src="imges/ks_logol.png" alt="">
    </div>
    <p class="adores">*************************</p>
    <div class="itibansita">
        <p class="tel">TEL************&nbsp;&nbsp; <span class="fax">FAX ********</span></p>
    </div>
    <p class="kopi">&copy;*********** All rights reserved</p>
</footer>
              
            
!

CSS

              
                /* 最低限の余白リセット */
body, main, nav, div, p, ul, li {
    margin: 0;
    padding: 0;
}

/* 質問者さんのCSS */
html{
    font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,Osaka,'MS Pゴシック',sans-serif
}
.top{
    margin-top:0;
    padding-top:0;
    border-top: solid 5px;
    border-color: #32cd32;
}
.wapper{
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
.logo{
    display: flex;
    list-style-type: none;
}
.mainlogo{
    width:10%;
    height: auto;
    padding-right: 5px;
    margin-bottom:20px;
    margin-top:20px;
}
.mainlogo2{
    margin-left: 0;
    width:50%;
    height: auto;
    margin-bottom:35px;
    margin-top:0;
    margin-left: 5px;
}
.topnav{
    margin: 0 auto;
    background-color: #32cd32;
    text-align: center;
}
.topnav ul{
    display: flex;
    /* ↓一応いれます */
    justify-content: space-between;
    list-style-type: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 960px;
    max-width: 100%;
    font-size: 20px;
    font-weight: bold; /*太字に*/
    color: #ffffff;
}
.topnav li {
    width:25%;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /* ボーダー(左)入れます */
    border-left:1px solid #fff;
}
/* リストの最後だけ右にもボーダー*/
.topnav li:last-child {
    border-right:1px solid #fff;
}
.topnav ul li a{
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    display:block; /* 追加 */
    padding:20px; /* 追加 */
}
.topnav li:hover a{
    opacity:0.6;
}
.topga {
    background-color: #afeeee;
    height: 400px;
    width:auto;
    text-align: center;
}
.topmongon{
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    line-height:1.4;
}
.topmongon h1{
    padding-top: 15px;
    font-size: 28px;
    border-bottom:solid 1px #b0c4de;
    padding-bottom: 5px;
    line-height:1.3;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
.topmongon p{
    text-align: center;
}
.aikya{
    font-size:37px;
    color: #32cd32;
}
.kyatti{
    font-size:37px;
    color: #9932cc;
}
.kya{
    font-size: 37px;
    color: #ff6347;
}
.meinsyousai1{
    padding-top:15px; 
}
.meinsetumei h2{
    padding-bottom: 5px;
    font-size: 28px;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    line-height:1.4
}
.henkou{
    font-size:34px;
    color: #32cd32;
}
.henkou2{
    font-size:34px;
    color: #ff0000;
}
.meinsetumei p{
    text-align: center;
}
.zigyouannai{
    margin-bottom: 5px;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
.zigyouannai h1{
    font-size: 35px;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    margin-top:-15px;
}
.zigyouannai h2{
    padding-top: 10px;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    font-size:25px;
}
.zigyouannai p{
    margin: 0 auto;
    width: 960px;
    padding-left: 20px;
    max-width: 100%;
    font-size: 22px;
    margin-top:15px;
}
.zigyouannai img{
    padding-top: 10px;
    height: 700px;
    width: auto;
    text-align: center;
}
.setumei02 h2{
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
.setumei02 p{
    text-align: center;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
/*teble*/
.table-wrapper{
    padding-bottom: 30px;
}
.teble-midasi{
    opacity:0;
}
.kaisya-annai{
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
.topsetumei{
    margin-top:50px;
}
h2{
    margin-top: 20px;
    margin-bottom:15px;
    font-size: 18px;
}
.gaiyou{
    margin-left: auto;
    margin-right:auto;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    border: solid 1px #90ee90;
}
.gaiyou th{
    background: #90ee90;
    white-space: nowrap;
    padding:20px 10px;
    border: solid 1px #90ee90;
}
.gaiyou td{
    padding:20px 10px;
    vertical-align:middle;
    border: solid 1px #90ee90;
}
.iti{
    background-color: #32cd32;
    text-align: center;
}
.torihikisaki{
    list-style-type:none;
}
.topics h2{
    padding-top: 10px;
    padding-bottom: 8px;
    padding-left: 0.2em;
    color: #ffffff;
    font-size:25px;
    border-bottom: solid 1px #b0c4de;
    background-color: #32cd32;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}
.topics p{
    border-right: solid 1px #b0c4de;
    border-left: solid 1px #b0c4de;
    border-bottom: solid 1px #b0c4de;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    text-align: center;
}
.henatuki{
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    display: flex;
}
.topsyoukai{
    font-size:28px;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    padding-top: 30px;
    border-bottom: solid 1px #dcdcdc;
}
.syoukai{
    display: flex;
    margin-top: 50px;
    list-style-type: none;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}
.syouhin{
    text-decoration: none;
    color: #32cd32;
    margin-left: 10px;
    margin-right: 10px;
    width: 80px;
}
.syouhin2{
    text-decoration: none;
    color: #32cd32;
    margin-right: 15px;
    margin-left: 60px;
    width: 80px;
}
.syouhin3{
    text-decoration: none;
    color: #32cd32;
    margin-right: 15px;
    margin-left: 80px;
    width: 80px;

}
.gazou{
    width: 50px;
    height: auto;
    padding-right:15px;
}
footer{
    /*position: absolute;*/
    margin-top: 80px;
    background-color:#e0ffff;
    width: 100%;
    height: 150px;
    /*bottom: 0;*/
}
.sita{
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    padding-top: 20px;
    text-align: center;
}
.sita img{
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
.itibansita {
    text-align: center;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    bottom: 10px;
}
.itibansita p{
    text-align: center;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    padding-top: 10px;
}
.adores{
    text-align: center;
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
    font-size: 18px;
    margn-top:10px;
}
.tel{
    color: #ff7f50;
    font-size: 23px;
    font-weight:bold;
    padding-top:1px;
    padding-bottom: 15px;
}
.fax{
    color: #32cd32;
    font-size: 23px;
    font-weight:bold;
}
.kopi{
    text-align: center;
    margin:0 auto;
    width: 960px;
    /*position: absolute;*/
    /*bottom: 0;*/
    /*right:0;*/
    /*left: 0;*/
    font-size: 18px;
    padding-top: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console