부트스트랩으로 만든 메뉴를 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">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>SPGLOBAL</title>

<!-- Latest compiled and minified CSS -->
  <link rel="stylesheet" href="bootstrap-3.3.6-dist/css/bootstrap.min.css">
  <link rel="stylesheet" href="bootstrap-3.3.6-dist/css/bootstrap-theme.min.css">
  <link rel="stylesheet" href="font-awesome-4.6.3/css/font-awesome.min.css">

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
  <script src="bootstrap-3.3.6-dist/js/bootstrap.min.js"></script>
   
    <style>
    /* head_tail */
  .head_tail{
  /*background-color:#666;*/
  color:#263238;
  margin-top:20px;
  margin-bottom:20px;
     }
  
 .menu{
  margin-bottom:0px;/* 메뉴바와 슬라이더 간격 -> 메뉴바 아래 여백 */
 }  
/* 네비게이션 색상변경 시작 */
/* navbar */
.navbar-default {
 background: #795548; /* 메뉴배경색상 */
 border:none;
 border-radius:0px;
}
/* Brand 색상 */
.navbar-default .navbar-brand {
    color: #fff;
}
/* Brand 위로 마우스 올렸을 때 색상 */
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #ff9800;
}
/* link */
.navbar-default .navbar-nav > li > a {
    color: #fff;  /* 메뉴 색상 */
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ff9800;                 /* 마우스 올렸을때 메뉴 글자색상 */
 background-color:#5d4037;       /* 마우스 올렸을때 메뉴배경 색상 */
}
/* Active 색상 배경 */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background: #ff9800;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background: #ff9800;
}
 /* 드롭다운 서브메뉴 배경색상 */
.dropdown-menu {background-color:#ffa726;}
/* 드롭다운 서브메뉴에 마우스 올렸을때 서브메뉴 배경색상 */
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {background: #8d6e63;}
/* 드롭다운 서브메뉴에 마우스 올렸을때 서브메뉴 변경색상 */
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {color:#fff;}
/* caret 드롭다운 삼각형*/
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #ff9800;
    border-bottom-color: #ff9800;
}
.navbar-default .navbar-nav > .open > a .caret,
.navbar-default .navbar-nav > .open > a:hover .caret,
.navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}
.navbar, .navbar-default{
 /* height:50px;        메뉴바 두께  */
 padding-top:0px;     /* 메뉴바 상단 여백 */
 font-size:16px;      /* 메뉴바 폰트크기  */
 letter-spacing:4px; /* 메뉴바 글자간격 */
 word-spacing:5px;
}
.navbar {
    border: 0;
    font-size: 16px !important; /* 폰트 크기 */
    border-radius: 0;
}
/* mobile version */
.navbar-default .navbar-toggle {
    border-color: #DDD;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fff;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #CCC;
}
@media (max-width: 768px) {

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #ff9800;
  background:#6d4c41; 
 
    }
    .navbar-default .navbar-nav .open .dropdown-menu{
  background-color:#795548; 
    }
    .navbar-default .navbar-nav{
  background-color:#795548; 
    } 


  
  
/* 네비게이션 색상변경 끝 */ 
 
    .carousel-inner img {
        width: 100%; /* Set width to 100% */
        margin: auto;
        min-height:200px;
        }
    .carousel-control.right, .carousel-control.left {
        background-image: none;
        color: #ff5722;
  /* margin-left:150px; 슬라이드 왼쪽 화살표 왼쪽 위치변경 */
  /* margin-right:150px; 슬라이드 오른쪽 화살표 왼쪽 위치변경 */
  margin-top:auto;   /* 슬라이드 화살표 수직위치변경 */
        }
    .carousel-indicators li {
        border-color: #f4511e;
        }
    .carousel-indicators li.active {
        background-color: #f4511e;
        }
    .carousel-inner img {
        width: 100%; /* Set width to 100% */
  height:100%;
        margin: auto;
        min-height:200px;
        }  

 </style>
   
</head>
<body>
<!-- head_tail 시작 -->
<div class="container text-right head_tail">
   <small>Home · 회원가입 · Contact Us</small>
</div>
<!-- head_tail 끝 -->

<!--네비게이션 시작 --> 
<nav class="navbar navbar-default menu">

  <div class="container-fluid">
   <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">SPGLOBAL</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">Home<span class="sr-only">(current)</span></a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">회사소개<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">회사소개</a></li>
            <li><a href="#">회사연혁</a></li>
            <li><a href="#">사업영역</a></li>
            <li><a href="#">오시는 길</a></li>
          </ul>
        </li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Product<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Heal foot</a></li>
            <li><a href="#">쌀누니</a></li>
            <li><a href="#">저주파자극기</a></li>
            <li><a href="#">스킨매니저</a></li>
            <li><a href="#">에스떼</a></li>
          </ul>
        </li>  
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Community<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Notice</a></li>
            <li><a href="#">Gallery</a></li>
            <li><a href="#">Contact Us</a></li>
          </ul>
        </li>               
      </ul>
      <!-- 검색 버튼 잠금 시작
      <form class="navbar-form navbar-left" role="search">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">Submit</button>
      </form>
      -->
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#"><i class="fa fa-sign-in fa-lg" aria-hidden="true"></i><small> Login</small></a></li>
      <!-- 
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">Separated link</a></li>
          </ul>
        </li> -->
      </ul>
      </div>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<!--네비게이션 끝 -->


<!-- slider 시작 -->
<div id="myCarousel" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
      <li data-target="#myCarousel" data-slide-to="3"></li>
      <li data-target="#myCarousel" data-slide-to="4"></li>
    </ol>
    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
      <div class="item active">
        <img src="slider1-1800_500.gif" alt="Image">
        <div class="carousel-caption">
          <h3>Sell $</h3>
          <p>Money Money.</p>
        </div>     
      </div>

      <div class="item">
        <img src="slider2-1800_500.gif" alt="Image">
        <div class="carousel-caption">
          <h3>More Sell $</h3>
          <p>Lorem ipsum...</p>
        </div>     
      </div>
     
      <div class="item">
        <img src="slider3-1800_500.gif" alt="Image">
        <div class="carousel-caption">
          <h3>More Sell $</h3>
          <p>Lorem ipsum...</p>
        </div>     
      </div>
     
      <div class="item">
        <img src="slider4-1800_500.gif" alt="Image">
        <div class="carousel-caption">
          <h3>More Sell $</h3>
          <p>Lorem ipsum...</p>
        </div>     
      </div>
     
      <div class="item">
        <img src="slider5-1800_500.gif" alt="Image">
        <div class="carousel-caption">
          <h3>More Sell $</h3>
          <p>Lorem ipsum...</p>
        </div>     
       
      </div>
    </div>

    <!-- Left and right controls -->
    <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
      <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
      <span class="sr-only">Next</span>
    </a>
  </div>
</div>
<!-- slider 끝 --> 

|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
9년 전 조회 221
9년 전 조회 222
9년 전 조회 266
9년 전 조회 272
9년 전 조회 314
9년 전 조회 302
9년 전 조회 293
9년 전 조회 247
9년 전 조회 317
9년 전 조회 237
9년 전 조회 264
9년 전 조회 258
9년 전 조회 274
9년 전 조회 262
9년 전 조회 304
9년 전 조회 262
9년 전 조회 375
9년 전 조회 321
9년 전 조회 227
9년 전 조회 402
9년 전 조회 388
9년 전 조회 485
9년 전 조회 358
9년 전 조회 382
9년 전 조회 328
9년 전 조회 308
9년 전 조회 284
9년 전 조회 371
9년 전 조회 299
9년 전 조회 344
9년 전 조회 303
9년 전 조회 355
9년 전 조회 326
9년 전 조회 267
9년 전 조회 680
9년 전 조회 295
9년 전 조회 435
9년 전 조회 313
9년 전 조회 329
9년 전 조회 287
9년 전 조회 287
9년 전 조회 352
9년 전 조회 272
9년 전 조회 279
9년 전 조회 313
9년 전 조회 454
9년 전 조회 267
9년 전 조회 490
9년 전 조회 331
9년 전 조회 290
9년 전 조회 853
9년 전 조회 645
9년 전 조회 449
9년 전 조회 465
9년 전 조회 497
9년 전 조회 382
9년 전 조회 394
9년 전 조회 501
9년 전 조회 349
9년 전 조회 343
9년 전 조회 454
9년 전 조회 421
9년 전 조회 468
9년 전 조회 494
9년 전 조회 399
9년 전 조회 336
9년 전 조회 436
9년 전 조회 447
9년 전 조회 451
9년 전 조회 451
9년 전 조회 653
9년 전 조회 549
9년 전 조회 403
9년 전 조회 521
9년 전 조회 424
9년 전 조회 416
9년 전 조회 757
9년 전 조회 389
9년 전 조회 555
9년 전 조회 564
9년 전 조회 608
9년 전 조회 494
9년 전 조회 320
9년 전 조회 541
9년 전 조회 589
9년 전 조회 512
9년 전 조회 470
9년 전 조회 329
9년 전 조회 592
9년 전 조회 532
9년 전 조회 1,081
9년 전 조회 405
9년 전 조회 543
9년 전 조회 499
9년 전 조회 897
9년 전 조회 924
9년 전 조회 659
9년 전 조회 552
9년 전 조회 601
9년 전 조회 964
🐛 버그신고