Notice
Recent Posts
Recent Comments
ยซ   2024/12   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
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
Archives
Today
In Total
๊ด€๋ฆฌ ๋ฉ”๋‰ด

A Joyful AI Research Journey๐ŸŒณ๐Ÿ˜Š

๐ŸฅHTML, CSS, Javascript, jQuery: ์ฒซ ๋ฒˆ์งธ ๊ฐœ์ธ ํ”„๋กœ์ ํŠธ ํ•˜๋ฉด์„œ ์ƒˆ๋กœ ์•Œ๊ฒŒ ๋œ ๊ฒƒ ๋ชจ์Œ ์กฐ๊ฐ (2) [K-๋””์ง€ํ„ธ ํŠธ๋ ˆ์ด๋‹ 27์ผ~] ๋ณธ๋ฌธ

๐Ÿ’ปBootcamp Self-Study Revisionโœจ/HTML5, CSS, Bootstrap, JSP

๐Ÿฅ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 ํšจ๊ณผ ์ฃผ๊ธฐ

 

[CSS] input text focus border color, ํฌ์ปค์Šค ์‹œ ํ…Œ๋‘๋ฆฌ ์ƒ‰์ƒ ๋ณ€๊ฒฝ

โ–  CSS input text focus border color, ํฌ์ปค์Šค ์‹œ ํ…Œ๋‘๋ฆฌ ์ƒ‰์ƒ ๋ณ€๊ฒฝ โ–  ์˜ˆ์ œ ์š”์†Œ ํฌ์ปค์Šค ์‹œ ํ…Œ๋‘๋ฆฌ ์ƒ‰์ƒ์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ๋ฐฉ๋ฒ• (๊ทธ๋ฆผ์ž ํšจ๊ณผ) โ–  ๊ฒฐ๊ณผ

zxchsr.tistory.com

์ฐธ๊ณ : 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;
/* ์œ„์•„๋ž˜, ์–‘์˜†, ๋ฒˆ์ง€๋Š” ๊ฒƒ, ์ƒ‰์ƒ */

728x90
๋ฐ˜์‘ํ˜•
Comments