فهرس دورة css
نتمنى لكم التوفيق وارجو ان يكون الشرح مبسط وسلس ...
H4 { position: absolute; left: 100px; top: 43px }
I { position: relative; left: 40px; top: 10px }بالإضافة إلى القيم absolute و relative تستطيع أيضاً أن تستخدم القيمة static ، و هي تعني أن العنصر سوف يوضع في مكانه الطبيعي في الصفحة كما اعتدنا عليه بدون تحديد مكان خاص له .
DIV { position: absolute; left: 200px; top: 40px; width: 150px }
DIV { position: absolute; left: 200px; top: 40px; height: 150px }
DIV { width: 150px; height: 150px; overflow: scroll }
DIV { visibility: hidden }
H2 { clip: rect(10px 200px 100px 40px) }
و الآن لنر نتيجة هاتان القاعدتان ( لقد جعلت لون نص الواصفة H2 بالأحمر حتى ترى الفرق) :H2 { position: relative; left: 10px; top: 0px; z-index: 10 }H1 { position: relative; left: 33px; top: -45px; z-index: 1 }
B { color: #CCFFFF }
B { color: rgb(52,204,0) }
P.yellow { background-color: #FFFF66 }
BODY { Background-attachment: fixed; background-image: url(images/background.jpg) }
P { background-position: center bottom; background-image: url(images/background.gif) }
P { background-position: 70px 10px; background-repeat: repeat-y; background-image: url(images/background.gif) }
P { background-position: 75% 50%; background-image: url(background.gif) }
P { background: url(images/background.gif) #CCFFCC repeat-y top right }
H4 { margin-top: 20px; margin-bottom: 5px; margin-left: 100px; margin-right: 55px }
H4 { padding-top: 20px; padding-bottom: 5px; padding-left: 100px; padding-right: 55px }
H4 { border-top-width: 2px; border-bottom-width: 5px; border-left-width: 1px; border-right-width: 1px }
IMG { border-width: 1in }
H4 { border-color: #FF0033; border-width: thick }
P { border-color: #99FFFF #FF0033 #FFFFFF #FFFF99; border-width: 3px }
P { border-style: double; border-width: 3px }
H4 { float: left }
P { clear: left }دعنا نلقي نظرة على مثال سريع : هذه الفقرة تلتف حول صورة طافية إلى اليسار .
H3 { font-style: italic }
P { font-weight: bold }
B { text-transform: uppercase }
B { text-decoration: underline }
A:link { text-decoration: none }
A:active { text-decoration: none }
A:visited { text-decoration: none }
<A HREF="http://arab-team.com">Link</A>و النتيجة :
LI { font: 12pt/16pt courier }
H2 { font-family: helvetica, impact, sans-serif }
BODY { font-family: "gill sans", "lucida sans", serif }
P { font-size: 16pt }
P { font-size: 20px }
P { font-size: large }هناك سبعة كلمات مفتاحية ، و هي مماثلة للقيم العددية التي اعتدنا على رؤيتها مع الواصفة <FONT SIZE> :
P { font-size: 15pt }
B { font-size: 300% }
P.first { color: green }
P.second { color: purple }
P.third { color: gray }
<P CLASS="first">The first paragraph, with a class name of "first."</P>
<P CLASS="second">The second paragraph, with a class name of "second."</P>
<P CLASS="third">The third paragraph, with a class name of "third."</P>
.first { color: green }
P B { color: red }
<H1><B>Emma Thompson</B>, Actress</H1>
<P>Dramatic actor, inspired writer, down-to-earth comedienne. Is there <B>nothing</B> she can't do?</P>
P.first { color: green } /* green for the first paragraph of every page */
H1 { text-indent: 10px; font-family: verdana }
IMG { margin-top: 100px } /* give all images a top margin */
BODY { color: green }
P { color: red }
P { color: green }
P { color: red }
I { font-family: impact }
<P>I think <I><FONT FACE="Times">East of Eden</FONT></I> is Steinbeck's best novel.</P>
<HTML>
<HEAD>
<TITLE>My First Stylesheet</TITLE>
</HEAD>
<BODY>
<H1>Stylesheets: The Tool of the Web Design Gods</H1>
<P>Amaze your friends! Squash your enemies!</P>
</BODY>
</HTML>
<STYLE TYPE="text/css">
<!--
H1 { color: green; font-size: 37px; font-family: impact }
P { text-indent: 1cm; background: yellow; font-family: courier }
-->
</STYLE>
H1 { color: green }
H1, P, BLOCKQUOTE { font-family: arial }
B { color: blue }
<B>All my web pages will use Cascading Stylesheets within <I>four</I> weeks.</B>
TYPE="text/css"
<HTML>
<HEAD>
<TITLE>My First Stylesheet</TITLE>
<LINK REL=stylesheet HREF="mystyles.css" TYPE="text/css">
</HEAD>
<BODY>
<H1>Stylesheets: The Tool of the Web Design Gods</H1>
<P>Amaze your friends! Squash your enemies!</P>
</BODY>
</HTML>
H1 { color: green; font-family: impact }
P { background: yellow; font-family: courier }
<HTML>
<HEAD>
<TITLE>My First Stylesheet</TITLE>
<STYLE TYPE="text/css">
<!--
@import url (company.css) ;
H1 { color: orange; font-family: impact }
-->
</STYLE>
</HEAD>
<BODY>
<H1>Stylesheets : the Tool of the Web Design Gods</H1>
<P>Amaze your friends! Squash your enemies!</P>
</BODY>
</HTML>
H1 { color: green; font-family: times }
P { background: yellow; font-family: courier}
<HTML>
<HEAD>
<TITLE>My First Stylesheet</TITLE>
</HEAD>
<BODY>
<H1 STYLE="color: orange; font-family: impact">Stylesheets: The Tool of the Web Design Gods</H1>
<P STYLE="background: yellow; font-family: courier">Amaze your friends! Squash your enemies!</P>
</BODY>
</HTML>
]]></b:skin>
.showpageNum a {
background: #02ab68;
padding: 5px;
padding-left: 10px;
border: 1px solid #b9b9b9;
padding-right: 10px;
margin-right: 5px;
color: #000;
font-weight: bold;
}
.showpage a {
background: #02ab68;
padding: 5px;
padding-left: 10px;
border: 1px solid #b9b9b9;
padding-right: 10px;
margin-right: 5px;
color: #000;
font-weight: bold;
}
.showpageArea {
float: left;
}
.feed-links {
display: none;
}
.showpageArea a {
float: left;
font-size: 15px;
color: #fff!important;
padding-left: 15px;
padding-right: 15px;
}
.showpagePoint {
float: left;
font-size: 15px;
padding-left: 15px;
padding-right: 15px;
}
.showpageArea a {
text-decoration: none;
}
.showpageArea {
float: left;
width: 363px;
margin-top: 10px;
}
</body>
<!--Page Navigation Starts-->
<b:if cond='data:blog.pageType != "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<script type='text/javascript'>
var pageCount=6;
var displayPageNum=6;
var upPageWord ='Previous';
var downPageWord ='Next';
</script>
<script src='http://widcraft.googlecode.com/svn/blogger_pagenavi_min.js' type='text/javascript'/>
</b:if>
</b:if>
<!--Page Navigation Ends -->
<link href="https://dl.dropboxusercontent.com/u/137869302/style.css" type="text/css" rel="stylesheet" />
<script src="https://dl.dropboxusercontent.com/u/137869302/json.js"></script>
<script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = false;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = true;
var numchars = 100;</script>
<script type="text/javascript" src="http://wwwkmxe.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script>
<link href="https://dl.dropboxusercontent.com/u/137869302/style.css" type="text/css" rel="stylesheet" />
<script src="https://dl.dropboxusercontent.com/u/137869302/json.js"></script>
<script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = true;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = true;
var numchars = 100;</script>
<script type="text/javascript" src="http://http://wwwkmxe.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script>
<link href="https://dl.dropboxusercontent.com/u/137869302/style.css" type="text/css" rel="stylesheet" />
<script src="https://dl.dropboxusercontent.com/u/137869302/json.js"></script>
<script type='text/javascript'>
var numposts = 3;
var showpostthumbnails = false;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = false;
var numchars = 100;</script>
<script type="text/javascript" src="http://http://wwwkmxe.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=labelthumbs"></script>