واقعا عالی بود
حرف نداره
داداش گل کاشتی
واقعا عالی بود
حرف نداره
داداش گل کاشتی
نقل قول از dezakiیه سر سایت من بزنی میبینی که دور عکس ها خط سیاه میکشه سایتو بد میکنهنقل قول از b-andisheسلام ممنون چه تغییری و چه ایرادی بگو تا درستش کنممیتوین این کد 7 امی رو یه تغییر کوچولو بدی؟ یه ایرادی داره
تازه این خطه خیلی کلفته
اگه ممکنه یه نگاهی بکن و این تغییرات رو بده
1 - خط دوری که عکس رو میگیره رو رنگشو آبی کم رنگ یا چیزی شبیه اون بکن
2 - اون خط دورش رو یکم نازک کن
مرسی از انتقاد پذیرید
نقل قول از vafaمرسی ابجی چاکرییییییییییییییمواقعا عالی بود
حرف نداره
داداش گل کاشتی
نقل قول از b-andisheقربونت داداش الان بررسی میکنم متوجه شدم دررستش میکنم میزارمش همینجانقل قول از dezakiیه سر سایت من بزنی میبینی که دور عکس ها خط سیاه میکشه سایتو بد میکنهنقل قول از b-andisheسلام ممنون چه تغییری و چه ایرادی بگو تا درستش کنممیتوین این کد 7 امی رو یه تغییر کوچولو بدی؟ یه ایرادی داره
تازه این خطه خیلی کلفته
اگه ممکنه یه نگاهی بکن و این تغییرات رو بده
1 - خط دوری که عکس رو میگیره رو رنگشو آبی کم رنگ یا چیزی شبیه اون بکن
2 - اون خط دورش رو یکم نازک کن
مرسی از انتقاد پذیرید
بفرما داداش ببین پسند شد؟
<style>img {
max-width: 400px;
max-height: 400px;
border: solid 3px #CCFF33;
border-radius: 2px 2px 2px 2px;
box-shadow: 0 0 3px #CCFF33;
}
img:hover {
border: solid 3px #00CCFF;
border-radius: 80px 7px 80px 7px;
box-shadow: 0 0 2px white;
-webkit-transition: all 2s ease-in;
-moz-transition: all 2s ease-in;
-o-transition: all 2s ease-in;
transition: all 2s ease-in;
-webkit-transform: rotate(1deg);
-moz-transform: rotate(1deg);
-o-transform: rotate(1deg);
}
</style>
اول دمو رو ببینین
این کد رو در قسمت headقالب قرار دهید
<style>.pulloutimage{
position: relative;
}
.pulloutimage img{
position: absolute; /* absolute position and stack images inside container */
left: 0;
}
.pulloutimage img.ondemand{ /*CSS for image shown on demand */
opacity: 0;
visibility: hidden; /* hide it initially (mainly for legacy browsers) */
}
.pulloutimage img.original{
z-index: 1; /* set base z-index of initially shown image */
}
@-webkit-keyframes revealfromright{ /* keyframe animation that slides a DIV out from another before overlapping later */
0%{ /* Start of animation */
z-index: -1;
opacity: 0;
}
50%{ /* Half way point, move image to right edge of container */
opacity: 1;
z-index: -1;
left: 100%;
box-shadow: none;
}
51%{ /* 51% point, stack animating image on top of original image */
z-index: 2;
}
100%{ /* Final point, move animating image back so it's on top of original */
left: 0;
box-shadow: 8px 8px 15px gray;
}
}
@-moz-keyframes revealfromright{
0%{
z-index:-1;
opacity:0;
}
50%{
opacity:1;
z-index:-1;
left:100%;
box-shadow: none;
}
51%{
z-index:2;
}
100%{
left:0;
box-shadow: 8px 8px 15px gray;
}
}
@-ms-keyframes revealfromright{
0%{
z-index:-1;
opacity:0;
}
50%{
opacity:1;
z-index:-1;
left:100%;
box-shadow: none;
}
51%{
z-index:2;
}
100%{
left:0;
box-shadow: 8px 8px 15px gray;
}
}
.pulloutimage:hover img.ondemand{ /* when mouse rolls over pulloutimage container, style to apply to "ondemand" image */
-webkit-animation-name:revealfromright; /* specify animation keyframe */
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-moz-animation-name:revealfromright;
-moz-animation-duration: 1s;
-moz-animation-iteration-count: 1;
-ms-animation-name:revealfromright;
-ms-animation-duration: 1s;
-ms-animation-iteration-count: 1;
animation-name:revealfromright;
animation-duration: 1s;
animation-iteration-count: 1;
visibility:visible;
opacity:1;
box-shadow: 8px 8px 15px gray;
z-index:2;
}
.pulloutimage:hover img.original{ /* when mouse rolls over pulloutimage container, style to apply to "original" image */
opacity:0.5;
}
</style>
این کد رو هم در قسمت body
<style>.pulloutimage{
position: relative;
}
.pulloutimage img{
position: absolute; /* absolute position and stack images inside container */
left: 0;
}
.pulloutimage img.ondemand{ /*CSS for image shown on demand */
opacity: 0;
visibility: hidden; /* hide it initially (mainly for legacy browsers) */
}
.pulloutimage img.original{
z-index: 1; /* set base z-index of initially shown image */
}
@-webkit-keyframes revealfromright{ /* keyframe animation that slides a DIV out from another before overlapping later */
0%{ /* Start of animation */
z-index: -1;
opacity: 0;
}
50%{ /* Half way point, move image to right edge of container */
opacity: 1;
z-index: -1;
left: 100%;
box-shadow: none;
}
51%{ /* 51% point, stack animating image on top of original image */
z-index: 2;
}
100%{ /* Final point, move animating image back so it's on top of original */
left: 0;
box-shadow: 8px 8px 15px gray;
}
}
@-moz-keyframes revealfromright{
0%{
z-index:-1;
opacity:0;
}
50%{
opacity:1;
z-index:-1;
left:100%;
box-shadow: none;
}
51%{
z-index:2;
}
100%{
left:0;
box-shadow: 8px 8px 15px gray;
}
}
@-ms-keyframes revealfromright{
0%{
z-index:-1;
opacity:0;
}
50%{
opacity:1;
z-index:-1;
left:100%;
box-shadow: none;
}
51%{
z-index:2;
}
100%{
left:0;
box-shadow: 8px 8px 15px gray;
}
}
.pulloutimage:hover img.ondemand{ /* when mouse rolls over pulloutimage container, style to apply to "ondemand" image */
-webkit-animation-name:revealfromright; /* specify animation keyframe */
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
-moz-animation-name:revealfromright;
-moz-animation-duration: 1s;
-moz-animation-iteration-count: 1;
-ms-animation-name:revealfromright;
-ms-animation-duration: 1s;
-ms-animation-iteration-count: 1;
animation-name:revealfromright;
animation-duration: 1s;
animation-iteration-count: 1;
visibility:visible;
opacity:1;
box-shadow: 8px 8px 15px gray;
z-index:2;
}
.pulloutimage:hover img.original{ /* when mouse rolls over pulloutimage container, style to apply to "original" image */
opacity:0.5;
}
</style>
موفق باشید و تشکر فراموش نشه
عنوان تاپیک رو اصلاح کنید.
سلام این استایل هم تصاویر رو میچرخونه هم دورشون رو بصورت یبایی خمیدگی میکنه
<style>img:hover {
border: dashed underline 1px #333;
border-radius: 80px 6px 80px 6px;
box-shadow: 5 5 1px #333;
-webkit-transition: all 2s ease-in;
-moz-transition: all 2s ease-in;
-o-transition: all 2s ease-in;
transition: all 2s ease-in;
-webkit-transform: rotate(-360deg);
-moz-transform: rotate(-360deg);
-o-transform: rotate(-360deg);
}
img{border-radius: 40px;
opacity:1;filter:alpha(opacity=100);
-webkit-transform:scale(0.9):( Webkit: Scale down image to 0.8x original size);
padding:0px; float:center;
-moz-transform:scale(0.9):(Mozilla scale version);
-moz-transform:scale(0.9):(Explorer scale version);
}
</style>
نقل قول از dezakiکد:img{max-width:500px;
background: #fafafa;
border:1px solid #f0f0f0;
padding:5px;
filter: alpha(opacity=100);
opacity:0.8;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
-webkit-transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
-o-transition: all 0.3s ease-in;
transition: all 0.3s ease-in; }
img:hover{ background: #0099ff;
opacity:1;}
سلام . کسی میتونه ضخامت کادر آبیه دوره اینو کم کنه واسم و یکم آبیشو پر رنگ تر و به رنگ آبیه سیر نزدیک کنه ؟
خیلی ممنون اگه واسم انجامش بدید !
نقل قول از hixaviنقل قول از dezakiکد:img{max-width:500px;
background: #fafafa;
border:1px solid #f0f0f0;
padding:5px;
filter: alpha(opacity=100);
opacity:0.8;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
-webkit-transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
-o-transition: all 0.3s ease-in;
transition: all 0.3s ease-in; }
img:hover{ background: #0099ff;
opacity:1;}
سلام . کسی میتونه ضخامت کادر آبیه دوره اینو کم کنه واسم و یکم آبیشو پر رنگ تر و به رنگ آبیه سیر نزدیک کنه ؟
خیلی ممنون اگه واسم انجامش بدید !
سلام بفرمایید
img{max-width:500px;
background: #fafafa;
border:1px solid #f0f0f0;
padding:5px;
filter: alpha(opacity=100);
opacity:0.8;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
border-radius: 12px;
-webkit-transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
-o-transition: all 0.3s ease-in;
transition: all 0.3s ease-in; }
img:hover{ background: #0099ff;
opacity:1;}