Q:

***چند کد فوق حرفه ای و بسیار زیبا و کاربردی***

با سلام دوستان این هم چند کد سی اس اس و حرفه ای و کاربردی برای سایت شما.

تمامی کد ها را من نساختم.

1.افکت موس بر روی بک گراند.

(ساخته شده توسط خودم)

با این ابزار حرفه ای میتونید سرگرمی برای کاربران وبتون در صفحات جداگانه قرار دهید.

دمو کد

کد:
<html>

<style>

html, body {

 margin: 0; padding: 0;

 width: 100%; height: 100%;

 overflow: hidden;

 background: #171819;

 -webkit-transform: translate3d(0,0,0);

}

span {  position: absolute; top: 15px; left: 70%; color: #000; font: 12px Tahoma;direction:rtl;border:5px solid #56C9D5;padding:5px;background-color:#FFFF00;}

a  { color:#56C9D5; text-decoration:none;}

a:hover  { color:#FF0000;}

</style>

</head>

<body>

<span>موستان را بر روی صفحه ببرید. <a href="http://sunforum.tk ">-سان فروم</a> .</span>

<canvas id="canvas"></canvas>

<script>

function polyfillRequestAnimFrame (window) {

   var lastTime = 0;

   var vendors = ['ms', 'moz', 'webkit', 'o'];

   for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {

       window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];

       window.cancelAnimationFrame =

         window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame'];

   }

   if (!window.requestAnimationFrame)

       window.requestAnimationFrame = function(callback, element) {

           var currTime = new Date().getTime();

           var timeToCall = Math.max(0, 16 - (currTime - lastTime));

           var id = window.setTimeout(function() { callback(currTime + timeToCall); },

             timeToCall);

           lastTime = currTime + timeToCall;

           return id;

       };

   if (!window.cancelAnimationFrame)

       window.cancelAnimationFrame = function(id) {

           clearTimeout(id);

       };

}

polyfillRequestAnimFrame(window);

// Get the canvas DOM element along with it's 2D context

// which is basically what we do our work on

var canvas = document.getElementById('canvas'),

ctx = canvas.getContext('2d'),

window_width = window.innerWidth,

window_height = window.innerHeight;

// Set canvas's width and height to that

// of window (the view port)

canvas.width = window_width;

canvas.height = window_height;

// Just a random object name to store some utility

// functions that we can use later

var $$ = {

// Get a random integer from a range of ints

// Usage: $$.randomInt(4, 8) -> would return

// 4 or 5 or 6 or 7 or 8

randomInt: function(min, max) {

return Math.floor( Math.random() * (max - min + 1) + min );

}

};

var mousePos = { x: (window_width/2), y: (window_height/2) }

// Pool of particles. Basically an array that stores all

// our particles

var particles = [];

// The object that'll serve as the prototype

// of every particle we create!

var Particle = {

x: mousePos.x,

y: mousePos.y,

x_speed: 10,

y_speed: 10,

radius: 3,

x_curve: 0,

y_curve: 0,

colorStart: 0,

b: 60,

_position: {},

// Draw the particle

draw: function() {

// Begin Drawing Path

ctx.beginPath();

// Background color for the object that we'll draw

ctx.fillStyle = this.bg_color;

// Draw the arc

// ctx.arc(x, y, radius, start_angle, end_angle, anticlockwise)

// angle are in radians

// 360 degrees = 2p radians or 1 radian = 360/2p = 180/p degrees

ctx.arc(this.x, this.y, this.radius, 0, Math.PI*2, false);

// Close Drawing Path

ctx.closePath();

// Fill the canvas with the arc

ctx.fill();

},

// These are just some helpers that

// I've created, got no use in this

// creation. These might give you some idea

// to do some funky things .. Who knows ? :)

trackPosition: function() {

var position = {x: this.x, y: this.y};

this._position.x = this.x;

this._position.y = this.y;

},

getPosition: function() {

return this._position;

}

};

function createParticle() {

// Create a particle object and use `Particle`

// as the prototype of the object. I hope you know

// about prototypes right ? Prototypal Inheritance, nope ? :S

var particle = Object.create(Particle);

// Random number between -5 and 5 using

// our utility function, that was defined above.

particle.colorStart = $$.randomInt(0, 128);

particle.x = mousePos.x;

particle.y = mousePos.y;

particle.x_speed = $$.randomInt(-10, 10);

particle.y_speed = $$.randomInt(-1, 1);

particle.x_curve = ($$.randomInt(-2, 2) / 100),

particle.y_curve = ($$.randomInt(-20, 20) / 100),

// Push the newly created particle

// into our master array

particles.push(particle);

}

function repaint() {

// Clear the entire Canvas

ctx.fillStyle = 'rgba(0,0,0,0.5)';

ctx.fillRect(0, 0, window_width, window_height);

// Re-draw all particles we have in our bag!

for (var i = 0; i < particles.length; i++) {

var particle = particles;

// Set the new particle's background color

// HSLA FTW!

particle.b -= 0.5;

particle.bg_color = "hsla("+((i)+particle.colorStart)+", 90%, 50%, "+(particle.b/50)+")";

// This restriction makes sure

// that your computer does not

// run out of RAM and hence slows down.

if (particles.length > 500) {

particles.shift();

}

particle.draw();

// Changing x and y co-ordinates which

// are random (generated in createParticle())

//

// This is cool, as we get different

// speed for each particles then!

particle.x_speed += particle.x_curve;

particle.y_speed += particle.y_curve;

particle.x = particle.x + particle.x_speed;

particle.y = particle.y + particle.y_speed;

// Track new position

// Just a helper that might give you some

// cool ideas to make some unique twists to this

// experiment.

particle.trackPosition();

}

}

window.onmousemove = function (event) {

   event = event || window.event; // IE-ism

   mousePos.x = event.clientX;// - (window_width/2);

mousePos.y = event.clientY;// - (window_height/2);

}

// Magic method for animation!

function animate () {

var i = 4;

while ( !!i ) {

createParticle();

i--;

}

repaint();

window.requestAnimationFrame(animate);

}

window.requestAnimationFrame(animate);

</script>

</body>

</html>

2.جدول با قابلیت هایلایت

توسط این کد میتوانید در سایت خود جدولی حرفه ای ایجاد کنید.

دمو کد

کد:
<link href="http://www.p30up.ir/up/svkiw7m549lb8t5ltld.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="http://www.p30up.ir/up/3xh4ncplmtxxocifi07t.js"></script>

<script language="javascript" type="text/javascript" src="http://www.p30up.ir/up/32cxyzi9sxvholy3rxfs.js"></script>

</head>

<body>

<div>

<h2 id="x">جدول</h2>

</div>

<table style="border:2px solid #444;border-collapse:collapse;" id="jDesign_table" dir="rtl">

<tr>

<td style="text-align: center;">

تیم

</td>

<td style="text-align: center;">

بازی ها

</td>

<td style="text-align: center;">

برد

</td>

<td style="text-align: center;">

مساوی

</td>

<td style="text-align: center;">

باخت

</td>

</tr>

<tr>

<td>استقلال</td>

<td>17</td>

<td>11</td>

<td>3</td>

<td>3</td>

</tr>

<tr>

<td>سپاهان</td>

<td>17</td>

<td>8</td>

<td>6</td>

<td>3</td>

</tr>

<tr>

<td>نفت</td>

<td>17</td>

<td>8</td>

<td>6</td>

<td>3</td>

</tr>

<tr>

<td>تراکتورسازی</td>

<td>17</td>

<td>8</td>

<td>5</td>

<td>4</td>

</tr>

<tr>

<td>صبای قم</td>

<td>17</td>

<td>8</td>

<td>5</td>

<td>4</td>

</tr>

<tr>

<td>ذوب آهن</td>

<td>17</td>

<td>5</td>

<td>9</td>

<td>3</td>

</tr>

</table>

<br />

<hr />

<a href="http://www.sunforum.tk/" title="سان فروم">www.sunforum.tk </a>

<script type="text/javascript">

$.bstablecrosshair('jDesign_table',{color:'#444',background:'#aaa','foreground':'#fff'});

</script>

</body>

</html>

این کد را در بلوک خا یا در صفحات جداگانه قرار دهید و با استفاده از کد Iframe آن را در بلوک های سایتتان بگذارید.

3.پنجره حرفه ای و بسیار زیبا و کشویی Css

با این پنجره میتوانید اعلامیه های سایتتان و.... را در صفحات جداگانه به صورت حرفه ای و کشویی قرار دهید.

دمو کد

کد:
<style type="text/css">

/* jDesign css3 spolier */

/* --------------------------- */

/* Based on http://vector.tutsplus.com/tutorials/tools-tips/quick-tip-how-to-create-a-projector-screen-illustration/ */

/* --------------------------- */

/* SunForum.tk */

/* --------------------------- */

body {

background: url(http://www.p30up.ir/up/uz9zgh3jhwswh09nd9h.jpg);

font-family: arial;

color: #666;

min-height: 500px;

}

h2 {

margin: 10px 0 0 0;

font-weight: 400;

border-bottom: 1px dashed #ccc;

padding-bottom: 10px;

padding-top: 5px;

background: url(img/jdesign.png) 340px no-repeat;

text-indent: 50px;direction:rtl;

}

p {

margin: 10px 0 0 0;

font-size: 13px;font-family:Tahoma;direction:rtl;text-align:justify;

}

a {color: #5C8BB2;text-decoration: none;}      

a:hover {color:#fff;background:#5C8BB2;text-shadow:2px 1px 3px #000;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:2px;-webkit-transition-property:background;-webkit-transition-duration:.3s;-webkit-transition-timing-function:linear, ease-in;-moz-transition:background .3s ease-in;-o-transition:background .3s ease-in;}

.holder {

width: 400px;

position: relative;

margin: 20px auto;

margin-top: 100px;

}

.jDesign_css3 {

width: 5px;

height: 5px;

-webkit-border-radius: 50%;

-moz-border-radius: 50%;

border-radius: 50%;

background: rgb(173,173,173);

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiNhZGFkYWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjM2QzZDNkIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L3JhZGlhbEdyYWRpZW50PgogIDxyZWN0IHg9Ii01MCIgeT0iLTUwIiB3aWR0aD0iMTAxIiBoZWlnaHQ9IjEwMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-radial-gradient(center, ellipse cover,  rgba(173,173,173,1) 0%, rgba(61,61,61,1) 100%);

background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(173,173,173,1)), color-stop(100%,rgba(61,61,61,1)));

background: -webkit-radial-gradient(center, ellipse cover,  rgba(173,173,173,1) 0%,rgba(61,61,61,1) 100%);

background: -o-radial-gradient(center, ellipse cover,  rgba(173,173,173,1) 0%,rgba(61,61,61,1) 100%);

background: -ms-radial-gradient(center, ellipse cover,  rgba(173,173,173,1) 0%,rgba(61,61,61,1) 100%);

background: radial-gradient(center, ellipse cover,  rgba(173,173,173,1) 0%,rgba(61,61,61,1) 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#adadad', endColorstr='#3d3d3d',GradientType=1 );

border: 1px solid rgba(0,0,0,0.2);

box-shadow: inset 0 1px 0 0 rgba(255,255,255, 1);

position: absolute;

left: 197px;

top: -50px;

z-index: 999;

}

.jDesign_css3_ {

width: 160px;

height: 2px;

background: rgb(247,247,247);

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjNmM2YzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-linear-gradient(top,  rgba(247,247,247,1) 0%, rgba(198,198,198,1) 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,247,247,1)), color-stop(100%,rgba(198,198,198,1)));

background: -webkit-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

background: -o-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

background: -ms-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

background: linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#c6c6c6',GradientType=0 );

position: absolute;

   -moz-transform:rotate(-20deg);

-webkit-transform:rotate(-20deg);

-o-transform:rotate(-20deg);

transform:rotate(-20deg);

top: -21px;

left: 46px;

box-shadow: 0 0 2px 0px rgba(0,0,0,0.2);

}

.jDesign_1_css3 {

width: 160px;

height: 2px;

background: rgb(247,247,247);

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjNmM2YzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-linear-gradient(top,  rgba(247,247,247,1) 0%, rgba(198,198,198,1) 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,247,247,1)), color-stop(100%,rgba(198,198,198,1)));

background: -webkit-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

background: -o-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

background: -ms-linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

background: linear-gradient(top,  rgba(247,247,247,1) 0%,rgba(198,198,198,1) 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#c6c6c6',GradientType=0 );

position: absolute;

   -moz-transform:rotate(20deg);

-webkit-transform:rotate(20deg);

-o-transform:rotate(20deg);

transform:rotate(20deg);

top: -21px;

right: 46px;

box-shadow: 0 0 2px 0px rgba(0,0,0,0.2);

}

.jDesign_css3__ {

width: 400px;

height: 10px;

background: rgb(109,162,206);

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzZkYTJjZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1MzdmYTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-linear-gradient(top,  rgba(109,162,206,1) 0%, rgba(83,127,163,1) 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(109,162,206,1)), color-stop(100%,rgba(83,127,163,1)));

background: -webkit-linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

background: -o-linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

background: -ms-linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

background: linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6da2ce', endColorstr='#537fa3',GradientType=0 );

-webkit-border-radius: 3px;

-moz-border-radius: 3px;

border-radius: 3px;

z-index: 999;

position: absolute;

border: 1px solid #537FA3;

box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1),

inset 0 1px 0 0 rgba(255,255,255,0.3),

inset 0 0px 0 1px rgba(255,255,255,0.1),

0 6px 15px -2px rgba(0,0,0,0.2);

}

.cholder {

width: 380px;

height: 12px;

background-color: red;

top: 10px;

position: relative;

left: 1px;

background: #F7F7F7;

box-shadow: inset 0 1px 1px 0 rgba(0,0,0,1),

inset 0 1px 0 2px rgba(255,255,255,1),

0 0 5px 0px rgba(0,0,0,0.2);

-webkit-transition: all 1s ease-in-out;

-moz-transition: all 1s ease-in-out;

-o-transition: all 1s ease-in-out;

-ms-transition: all 1s ease-in-out;

transition: all 1s ease-in-out;

padding: 0px 10px 0px 10px;

overflow: hidden;

}

/* .holder:hover .cholder  {

  height: 220px;

}

*/

.pholder_two {

width: 400px;

height: 10px;

background: rgb(109,162,206);

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzZkYTJjZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1MzdmYTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-linear-gradient(top,  rgba(109,162,206,1) 0%, rgba(83,127,163,1) 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(109,162,206,1)), color-stop(100%,rgba(83,127,163,1)));

background: -webkit-linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

background: -o-linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

background: -ms-linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

background: linear-gradient(top,  rgba(109,162,206,1) 0%,rgba(83,127,163,1) 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6da2ce', endColorstr='#537fa3',GradientType=0 );

-webkit-border-radius: 3px;

-moz-border-radius: 3px;

border-radius: 3px;

z-index: 999;

position: absolute;

border: 1px solid #537FA3;

box-shadow: 0 3px 3px 0 rgba(0,0,0,0.1),

inset 0 1px 0 0 rgba(255,255,255,0.3),

inset 0 0px 0 1px rgba(255,255,255,0.1),

0 -6px 15px -2px rgba(0,0,0,0.2);

}

.jDesign_css3_11 {

width: 2px;

height: 25px;

background: rgb(127,127,127);

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iIzdmN2Y3ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0ZjRmNGYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-linear-gradient(top,  rgba(127,127,127,1) 1%, rgba(79,79,79,1) 100%);

background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(127,127,127,1)), color-stop(100%,rgba(79,79,79,1)));

background: -webkit-linear-gradient(top,  rgba(127,127,127,1) 1%,rgba(79,79,79,1) 100%);

background: -o-linear-gradient(top,  rgba(127,127,127,1) 1%,rgba(79,79,79,1) 100%);

background: -ms-linear-gradient(top,  rgba(127,127,127,1) 1%,rgba(79,79,79,1) 100%);

background: linear-gradient(top,  rgba(127,127,127,1) 1%,rgba(79,79,79,1) 100%);

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7f7f7f', endColorstr='#4f4f4f',GradientType=0 );

position: absolute;

   left: 197px;

box-shadow:  0 0 4px 0px rgba(0,0,0,0.3);

}

.openercheck {

position: absolute;

left: 187px;

margin-top: 37px;

background: transparent;

border: none;

filter:alpha(opacity=0);

-moz-opacity: 0;

opacity: 0;

-webkit-transition: all 1s ease-in-out;

-moz-transition: all 1s ease-in-out;

-o-transition: all 1s ease-in-out;

-ms-transition: all 1s ease-in-out;

transition: all 1s ease-in-out;

cursor: pointer;

}

.jDesign_css3_1 {

width: 10px;

height: 10px;

-webkit-border-radius: 50%;

-moz-border-radius: 50%;

border-radius: 50%;

border: 2px solid rgba(0,0,0,0.8);

box-shadow: inset 0 1px 0 0 rgba(255,255,255, 0.5),

0 0 4px 0px rgba(0,0,0,0.5);

position: absolute;

left: 191px;

margin-top: 25px;

z-index: 999;

-webkit-transition: all 1s ease-in-out;

-moz-transition: all 1s ease-in-out;

-o-transition: all 1s ease-in-out;

-ms-transition: all 1s ease-in-out;

transition: all 1s ease-in-out;

   -webkit-appearance: none;

   -webkit-margin-start: 0;

   -webkit-margin-end: 5px;

pointer-events: none;

}

.openercheck:checked {

top: 207px;

}

.openercheck:checked + .cholder {

height: 220px;

}

</style>

</head>

<body>

<div class="holder">

<div class="jDesign_css3"></div>

<div class="jDesign_css3_"></div>

<div class="jDesign_1_css3"></div>

<div class="jDesign_css3__"></div>

<input type="checkbox" class="openercheck"></input>

<div class="cholder">

<h2>خوش آمدید</h2>

<p>به وبسایت ما خوش آمدید،امیدواریم در این وبسایت لحظات خوشی را سپری نمایید.سان فروم.</p>

   <p> <a href="http://SunForum.tk">www.sunforum.tk</a>

</div>

<div class="jDesign_css3_1"></div>

<div class="pholder_two"></div>

<div class="jDesign_css3_11"></div>

</div>

</body>

</html>

امیدوارم لذت ببرید.

موفق باشید

2012-09-01

کدهای کاربردی css
پاسخ ها

واقعا ممنون !

کارت بیسته داداش !

ایول !

عالی بود دمت گرم 

عجب کده باحالیه این افکت بک گراندبازم از این کدا بزار

اون اوليه خداست

همه خوب بود به خصوص اولی

ممنون

تازه سازي پاسخ ها
پست های مرتبط

نسخه دارک (تیره) قالب رزموزیک

  • vahidsnh
  • جمعه 23 شهریور 1403 - 16:05

دو استایل زیبا برای منو مشخصات پاسخ های انجمن (znt)

  • zntboys
  • شنبه 06 آذر 1400 - 12:00

کد جغد متحرک فول css

  • koreserials
  • دوشنبه 22 شهریور 1400 - 13:11

افکت لودینگ متن 2 (znt)

  • zntboys
  • دوشنبه 07 مرداد 1398 - 6:35

افکت: استفاده از تصویر پشت متن (znt)

  • zntboys
  • شنبه 15 تیر 1398 - 3:00

افکت بعـ3ـدی(znt)

  • zntboys
  • سه شنبه 22 اسفند 1396 - 18:46

جدول بسیار زیبا برای تعرفه تبلیغات(znt)

  • zntboys
  • سه شنبه 22 اسفند 1396 - 18:28

کد امضاء کاربری برای انجمن سري 4 جديد (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:51

افکت برای متن (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:49

افکت چشمک زدن تصویر (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:49

استایل برای جستجو (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:49

افکت برای تصویر (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:48

ست کردن رنگ ادیتور ها با رنگ قالب انجمن (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:48

افکت فنری متن 1 (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:48

افکت متن 3 (znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:48

تست و ویرایش آسان css سی اس اس(znt)

  • zntboys
  • شنبه 05 فروردین 1396 - 10:47

استایل آماده دکمه های زیبا با رنگ بندی های زیاد برای آسان تر و سریع تر شدن طراحی قالب

  • kkm
  • یکشنبه 13 دی 1394 - 0:14

لیست UL و LI در سی اس اس

  • saharrahin
  • پنجشنبه 09 مهر 1394 - 11:36

منوی ثابت بالای سایت با سبک فلت (متفاوت)

  • cena666
  • شنبه 04 مهر 1394 - 10:43

کد منوی دیواری + با آیکون (جدید رزبلاگ)

  • nesbo
  • یکشنبه 28 تیر 1394 - 19:43
ارسال تیکت