A background color is added to the list instead of each link to create a full-width background color
%%에 추가합니다:\\
{{:wiki:css:css_note:borderdivider.png?600|}}\\
====예제====
\\
=====Fixed Navigation Bar=====
사용자가 페이지를 스크롤 하더라도, 내비게이션 바를 페이지 상단 또는 하단에 유지합니다.\\
====예제====
===Fixed Top===
Fixed Top Navigation Bar
Scroll this page to see the effect
The navigation bar will stat at the top of the page while scrolling
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
====예제====
===Fixed Bottom===
Fixed Top Navigation Bar
Scroll this page to see the effect
The navigation bar will stat at the top of the page while scrolling
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Totam, ullam.
\\
**Note:**고정 위치(fixed position)는 모바일 장치에서 제대로 작동하지 않을 수 있습니다.\\
\\
=====Gray Horizontal Navbar=====
얇은 회색 보더가 있는 회색 가로 네비게이션 바의 예제:\\
{{:wiki:css:css_note:grayhorizontalnavbar.png?600|}}\\
====예제====
\\
=====Sticky Navbar=====
sticky navbar를 만들려면 ''%%position: sticky;%%''를 %%%%에 추가합니다.\\
sticky 요소는 스크롤 위치에 따라 relative 및 fixed 사이에서 전환됩니다.\\
주어진 오프셋 위치가 뷰포트에서 충족될 때까지, relative 배치된 다음 제자리에 "고정"됩니다 (position : fixed 처럼).\\
====예제====
sticky Navigation Bar Example
The navbar will stick to the top when you reach its scroll position.
Note: Internet Explorer do not support sticky positioning and Safari requires a -webkit- prefix.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
Some text to enable scrolling. Lorem ipsum dolor sit amet, illum definitiones no quo, maluisset concludaturque et eum,
altera fabulas ut quo. Atqui causae gloriatur ius te, id agam omnis evertitur eum. Affert laboramus repudiandae nec et.
Inciderint efficiantur his ad. Eum no molestiae voluptatibus.
\\
**Note:**
Internet Explorer는 sticky positioning(고정 위치 지정)을 지원하지 않습니다.\\
Safari에는 -webkit- 접두사가 필요합니다 (위의 예 참조).\\
또한 sticky positioning(고정 위치 지정)이 작동하려면 ''top'', ''right'', ''bottom'' 또는''left'' 중 하나 이상을 지정해야 합니다.\\
\\
=====Responsive Topnav=====
====예제====
Responsive Topnav Example
This example use media queries to stack the topnav vertically when the screen size is 600px or less.
You will learn more about media queries and responsive web design later in out CSS Tutorial.
Resize the browser window to see the effect.
\\
=====Responsive Sidenav=====
====예제====
Responsive Sidenav Example
This example use media queries to transform the sidenav to a top navigation bar when the screen size is 900px or less.
We have also added a media query for screens that are 400px or less, which will vertically stack and center the navigation links.
You will learn more about media queries and responsive web design later in our css Tutorial.
Resize the browser window to see the effect.
\\
=====Dropdown Navbar=====
네비게이션 바 내부에 드롭다운 메뉴를 추가하는 방법.\\
====예제=====
Dropdown Menu inside a navigation Bar
Hover over the "Dropdown" link to see the dropdown menu.
{{tag>오션 CSS Horizontal Navbar}}