์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- Absolute
- AGI
- ai
- AI agents
- AI engineer
- AI researcher
- ajax
- algorithm
- Algorithms
- aliases
- Array ๊ฐ์ฒด
- ASI
- bayes' theorem
- Bit
- Blur
- BOM
- bootstrap
- canva
- challenges
- ChatGPT
- Today
- In Total
A Joyful AI Research Journey๐ณ๐
๐ฅHTML, CSS, Javascript, jQuery: ์ฒซ ๋ฒ์งธ ๊ฐ์ธ ํ๋ก์ ํธ ํ๋ฉด์ ์๋ก ์๊ฒ ๋ ๊ฒ ๋ชจ์ ์กฐ๊ฐ (2) [K-๋์งํธ ํธ๋ ์ด๋ 27์ผ~] ๋ณธ๋ฌธ
๐ฅHTML, CSS, Javascript, jQuery: ์ฒซ ๋ฒ์งธ ๊ฐ์ธ ํ๋ก์ ํธ ํ๋ฉด์ ์๋ก ์๊ฒ ๋ ๊ฒ ๋ชจ์ ์กฐ๊ฐ (2) [K-๋์งํธ ํธ๋ ์ด๋ 27์ผ~]
yjyuwisely 2023. 2. 8. 07:00[230206~] ์ฒซ ๋ฒ์งธ ๊ฐ์ธ ํ๋ก์ ํธ ํ๋ฉด์ ์๋ก ์๊ฒ ๋ ๊ฒ ๋ชจ์
์๋ก ์๊ฒ ๋ ๊ฒ๋ฟ๋ง ์๋๋ผ ์ด์ ์ ์ด๋ก ๊ณต๋ถ ํ๋ ๊ฒ๋ค ์ค์ ๋ค์ ์๊ธฐํ๊ฒ ๋ ๊ฒ๋ ํฌํจํ๋ค.
ํ๋ก์ ํธ๋ฅผ ๋ง๋๋ ๊ณผ์ ์์ ๋ฐฐ์ ๋ ์ด๋ก ๋ค์ ์ง์ ์ ์ฉํ๋ ๋จธ๋ฆฟ์์ ๋ ๋จ๋ ๊ฒ ๊ฐ๋ค. :)
์๋์ ์ผ๋ก ๊ธธ์ด๊ฐ ๊ธด ๋ด์ฉ์ ๊ฐ๋ณ ๊ธ๋ก ์ฎ๊ฒผ๋ค. (230329 ~ )
230208 Wed
autofocus="autofocus"
The autofocus attribute is a boolean attribute. When present, it specifies that the element should automatically get focus when the page loads.
๋น๋ฐ๋ฒํธ
/* ํ์ ๋ก๊ทธ์ธ */
$('#btnSignIn').on('click', function (e) {
if (frmValid.isValid() && _modLogin.isValid()) {
if($("input[name='idAutoChk']").val() == 'Y'){
setCookie('_YBLGID',btoa($('#txtId').val()),365);
}
$('#frmSignIn').submit();
} else {
console.log("์ ํจ์ฑ ์ฒดํฌ ์ค ์ค๋ฅ๊ฐ ๋ฐ์ํ์์ต๋๋ค.");
e.preventDefault();
}
});
230208
ํฌ์ปค์ค ์ด์ฉํด์ input text ๋๋ ์ ๋ border ํจ๊ณผ ์ฃผ๊ธฐ
์ฐธ๊ณ : https://zxchsr.tistory.com/301
/*input ํด๋ฆญํ๋ฉด ํจ๊ณผ ์๋ค.*/
input:focus{outline:none;/*input ๋ฐ์ค๋ฅผ ํด๋ฆญ ํ์๋ ๋์ค๋ ํ
๋๋ฆฌ ์์ ์์ ๊ธฐ*/
border:solid 2px #CCCCFF; /*box-shadow: 0 0 5px #d6a8e9;*//*๊ทธ๋ฆผ์ ํจ๊ณผ*/};
!important ์ฐ๋๊น ์คํ๋๋ค.
select:focus{
border:solid 2px #CCCCFF !important; box-shadow: 0 0 15px #ECEEFF;}
์ฐธ๊ณ : https://stackoverflow.com/questions/43820420/change-the-border-color-of-the-select-input-for-focus
230209 Thu
line spacing
line-height:15px;
230210 Fri
background-position์ผ๋ก ์ด๋ฏธ์ง ์ด๋ ๊ฐ๋ฅ
background-position: ์ผ/์ค ์/์๋;
์ฐธ๊ณ : https://developer.mozilla.org/en-US/docs/Web/CSS/background-position
.card:nth-child(4):before {/*์ถ์ ๋ํ*/
background-image: url(https://i.imgur.com/9gEELRn.jpg);
background-position: 5.5cm;
}
230212 Sun
https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow
ellipsis
This keyword value will display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) to represent clipped text. The ellipsis is displayed inside the content area, decreasing the amount of text displayed. If there is not enough space to display the ellipsis, it is clipped.
230221 Tue
์
๋ ฅํ ์ด๋ฉ์ผ ํผ ๊ฐ์ ธ์ค๊ธฐ
์ด๋ฉ์ผ<input type="text" id="email_id" class="form_w200" value="" size="15">@
<input type="text" id="email_domain" class="form_w200" value="" size="15">
<select class="select" onclick="setEmailDomain(this.value);return false;" id="emailOption"><!-- ์ด๋ฉ์ผ ์ ํ ์ต์
-->
<option value="">์ง์ ์
๋ ฅ</option>
<option value="naver.com">@naver.com</option>
<option value="hanmail.com">@hanmail.net</option>
<option value="gmail.com">@gmail.com</option>
<option value="nate.com">@nate.com</option>
<option value="daum.net">@daum.net</option>
</select><br>
์ ์ด์ฟผ๋ฆฌ
// ์ด๋ฉ์ผ ๋๋ฉ์ธ์ ์ด๋ฉ์ผ ์ ํ ์ต์
๊ฐ์ ๊ฐ์ ธ์จ๋ค.
var email_id =$("#email_id").val();
var email_domain =$("#email_domain").val();
var mail ="";
function setEmailDomain(domain){
230318
text-shadow: 1px 1px 2px pink;
/* ์์๋, ์์, ๋ฒ์ง๋ ๊ฒ, ์์ */