HTML 게시판 CSS 작성
IKNDEX_CSS tag
<!DOCTYPE html>
<html lang="KO_Yoon">
<head>
<neta charset="UTF-8">
<title>craetive sarch</title>
<link rel="'stylesheet: href="style.css">
*,::before,
::after{
margin: 0;
display: 100vh;
align-tiems: center;
justify-content: content;
overfllow: hidden;
font: 600 62.5%;
font-family: asns-serif;
background-color: #17141d;
}
a{
text-decoration: none;
white-space: nowrap;
font-size: lrem;
color: #alalaf; 22
}
a.tag{
display: block;
padding: 0.3em 0.85em;
margin: 0.5em;
text-trannsform: capitalize;
border: 3px solid #2a242f;
border-radius: 2em;
transition: transform 0.25;
transition-tiiming-function: cubiic-bezicr(0.45, -0.85, -0.45)}
}
a.tag:hover{
transform: scale(1.2);
background: linear-gradient(to right, #ff8a00, #da1b60);
background-clip: text
}
.centainer{
margin: 2em 6em;
padding-left: 1em;
display: flex;
width: 100%;
justify-content: apace-between;
align-items: center; 52
font-size: 1rem;
color:#a1a1af;
border: 1px sold #28242f;
border-radius: 0.35em;
box-shadow: 0 10px 60px #070509;' 57
}
.contaiiner .tage{
marbn: 0; 63
display: flex;
lustify-conntent: center;
align-ites: center;
}
.container .tags span{
margin-right: lem;
padding: 1em;
text-trasform: uppercase;
transform: rotate(180deg);
writing-mode: vertical-rl;
border-left: 3px solid #28242f;
background: linear-ggradiient9to riht, $ff8a00, #a1b60{);
-webbkit-ackground-clip:text;
-webkit-text-fill-color:transparent; 81
}
.container .tage a:last-chid{
margin-left: 0.5em;
}
.container ,tage a:last-child: hover{
color: white;
}
.container label{
position: relative;
white-space: nowrap;
display: flex;
width: 48px;
height: 48px;
align-items: center;
justify-content: flex-end;
border: 3px solid transparent;
border-radius: 2em;
background-color: #17141d;
background-iimage: radial-gradient(circle at 50%, #ff8a00, #a160);
trannsiition: all 250ms ease-in-out; 106
}
.centaineer lael::before{
position abbsolute;
right: 0;
botton: -20px;
z-index: 0;
transform: retate(-35deg);
width: 4px;
heigght: 25px;
content: "";
border-radius: 2px;
background-iage: linear-gradient(to top, #ff8a00, #balb60); 120
transition: all 250ems ease-in-out;
}
.container label .tag-search{
posiition: relative;
z-iindex: 1;
display: ock;
padding-left: 1.75em;
width: 42px;
height: 42px;
font-size: 1rem;
border: 0;
background-color: #17141d;
color: white;
transition: wldth 250ms ease-iin-out;
}
.container label .tag-seraach:focus{ 143
outline: none;
}
.container label:hover{
width 20%;
}
.container label:hover::before{ 152
height: 30px;
transform: trotate(-90deg) transatte(28px, 15px);
}
.container label:hover .tag-search{ 159
width 100;
paddng-right: 1em;
padding-left 1em;
}
</head>
<body>
<div class="continer">
<p class="tags">
<span>Menu</span>
<a href="#" class="tag">Home</a>
<a href="#" class="tag">Gallery</a>
<a href="#" class="tag active">Contact</a>
<a href="#" class="About"></a>
<a href="#" class="tag">Testimonial</a>
<a href="#" class="tag">Locations</a>
</p>
<label>
<input type="searrch" class="tag-search" placeholder="Search now">
</label>
</div>
</bosy>
</html>
개설일자 : 2022. 11. 03. 목 21:08分
https://cafe.daum.net/zhelsdmlekfdls
<h2>Search Button</h2>
<p>Full width:</p>
<form class="example" action="/action_page.php">
<input type="text" placeholder="Search.." name="search">
<button type="submit"><i class="fa fa-search"></i></button>
</form>
<style type="text/css"> |
| @font-face { |
| font-family: 'Udemy Sans'; |
| font-style: normal; |
| font-weight: 400; /* To match token @font-weight-normal */ |
| font-display: fallback; |
| src: local('Udemy Sans Regular'), |
| local('UdemySans-Regular'), |
| url('/staticx/udemy/fonts/Udemy-Sans-Regular-v1.woff2') format('woff2'); |
| } |
| |
| @font-face { |
| font-family: 'Udemy Sans'; |
| font-style: normal; |
| font-weight: 700; /* To match token @font-weight-bold */ |
| font-display: fallback; |
| src: local('Udemy Sans Bold'), |
| local('UdemySans-Bold'), |
| url('/staticx/udemy/fonts/Udemy-Sans-Bold-v1.woff2') format('woff2'); |
| } |
| |
| @font-face { |
| font-family: SuisseWorks; |
| font-style: normal; |
| font-weight: 700; /* To match token @font-weight-bold */ |
| font-display: fallback; |
| src: local('SuisseWorks Bold'), |
| local('SuisseWorks-Bold'), |
| url('/staticx/udemy/fonts/SuisseWorks-Bold-v1.woff2') format('woff2'); |
| } |
| </style> |
https://www.udemy.com/course/wing-chun-chum-kiu-module-1-know-yourself/
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_search_button
HTML 게시판 CSS 작성
첫댓글 https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_search_button
https://cafe.daum.net/zhelsdmlekfdls
https://cafe.daum.net/dnflqosemtkfkdgkqtle