Advertisement
Guest User

CSS

a guest
Apr 30th, 2016
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 12.98 KB | None | 0 0
  1. /* -------------------------------------------------------- */
  2.  
  3. /*------------- */
  4. /*Default Value=   */
  5. /* */
  6. /* -------------------------------------------------------- */
  7. background
  8. /*------------- */ {
  9.     background-color: #DDD;
  10.  /* 140 color normal type*/ /* hexcode : #fff */ /*rgba (148,38,12,0,6)*/
  11. /*Default Value= transparent */
  12.     background-image: url("");
  13.  /* لوضع صورة من http or local PC*/
  14. /*Default Value= none  */
  15.     background-repeat: no-repeat;
  16.  /* no-repeat لعدم تكرار الصورة , repeat-x تكرار الصورة من العرض , repeat-y تكرار الصورة بي الطول */
  17. /*Default Value=  repeat  */
  18.     background-attachment: fixed;
  19. /* fixed يجعل الصورة ثابته في مكانها, scroll يجعل الصورة */
  20. /*Default Value= scroll  */
  21.     background-position: ;/* top right bottom left center or 1% to 100% */
  22. /*Default Value=  0% 0% */
  23. اختصار الكود
  24. -----------
  25. background: color / url / repeat / attachment / position
  26. }
  27. /* -------------------------------------------------------- */
  28. Text
  29. /*------------- */ {
  30.     color: #fff;
  31. /*Default Value= transparent */
  32.     letter-spacing: 10px;
  33.  /*المسافات بين الحروف */
  34. /*Default Value=  normal */
  35.     line-height: 14px;
  36.  /* التباعد بين الاسطر*/
  37. /*Default Value= normal  */
  38.     text-align: ; /* محازاه النص من اليمين الى الشمال او الوسط Right - left - center*/
  39. /*Default Value=   */
  40. direction:ltr;
  41.  /* يستخدم لي اتجاة الكتابه  rtl - ltr*/
  42. /*Default Value=   */
  43.     text-decoration: none;
  44. /* ديكور للكتابه underline , overline , line-through , blink*/
  45. /*Default Value=  none */
  46.     text-transform: capitalize;
  47.  /* uppercase ,lowercase, capitalize  */
  48. /*Default Value=  none */
  49.     white-space: normal;
  50. /*  nowrap */
  51. /*Default Value=  normal */
  52.     word-spacing: 1px;
  53. /*Default Value= normal  */
  54. }
  55. /* -------------------------------------------------------- */
  56. Font
  57. /*------------- */ {
  58.     font-family: arial, "time new roman";
  59.  /*لوضع عائله من الخطوط المناسبه للمتصفحات*/
  60. /*Default Value=  تعتمد علي المتصفح */
  61.     font-style: italic;
  62.  /* يوضع style  كمثال  italic , oblique  */
  63. /*Default Value= normal  */
  64.     font-size: 16px;
  65. /* 16px %هو نوع الخط العادي , 100 , large - xx-large - x-large - small - x-small - xx-small*/
  66. /*Default Value=  medium */
  67.     font-weight: ;/* هي سماكه الخط و خواصها هي bold , bolder , lighter , او قيم من اول 100-900*/
  68. /*Default Value=  normal */
  69. }
  70. اختصار الكود
  71. --------------
  72. font: font-style / font-weight / font-size / line-height / font-family
  73. /* -------------------------------------------------------- */
  74. link
  75. /*------------- */
  76. a:hover {
  77.     يغير الشكر عند مرور الموس علي اللينك
  78. }
  79.  
  80. a:active {
  81.     يغير الشكل بعد الضعط غلي اللينك
  82. }
  83.  
  84. a:before {
  85. }
  86.  
  87. p:first-letter {
  88. }
  89.  
  90. /* -------------------------------------------------------- */
  91. lists items ul - ol
  92. /*------------- */
  93. ul {
  94.     list-style-type: none;
  95.  /* يغير شكل الدوائر بجانب ul*/
  96. /*Default Value= disc  */
  97.     list-style-position: ; /* inside , outside*/
  98. /*Default Value=  outside */
  99. list-style-image: url() /* لوضع صورة داخل ال ul */
  100. /*Default Value=  none */
  101. }
  102. اختصار الكود
  103. ----------
  104. list-style: type / position / image;
  105. /* -------------------------------------------------------- */
  106. border
  107. /*------------- */
  108. border-top:; /* */
  109. border-right: ; /* */
  110. border-bottom: ; /* */
  111. border-left: ; /* */
  112. border-width: ; /* */
  113. border-style: ; /* */
  114. border-radius: ; /* */
  115. border:5px dotted #DDD;
  116. border-radius:; /* لعمل حواف للعنصر */
  117. border-top-right-radius:; /* */
  118. /*Default Value=   */
  119. /* */
  120. /* -------------------------------------------------------- */
  121. margin - الهوامش الخارجيه للعنصر
  122. /*------------- */
  123. margin: auto ;/* يستخدم لتوسيط العنصر من مجموع البيكسل الموقع كامل */
  124. margin-top:; /* */
  125. margin-right: ; /* */
  126. margin-bottom: ; /* */
  127. margin-left: ; /* */
  128. /*Default Value=   */
  129. /* */
  130. /* -------------------------------------------------------- */
  131. /* padding - الهوامش الدخاليه للعنصر */
  132. /*------------- */
  133. padding: auto ;/* يستخدم لتوسيط العنصر من مجموع البيكسل الموقع كامل */
  134. padding-top:; /* */
  135. padding-right: ; /* */
  136. padding-bottom: ; /* */
  137. padding-left: ; /* */
  138. /*Default Value=   */
  139. /* */
  140. /* -------------------------------------------------------- */
  141. outline:  هو نسخه من ال border ولاكن هو لا يحسب من مساحه border الخاص بالعنصر;
  142. /*------------- */
  143. outline:auto;
  144. outline-top:; /* */
  145. outline-right: ; /* */
  146. outline-bottom: ; /* */
  147. outline-left: ; /* */
  148. /*Default Value=   */
  149. /* */
  150. /* -------------------------------------------------------- */
  151. width - height طول و عرض العنصر
  152. /*------------- */
  153. width: ;
  154. /*Default Value=  auto */
  155. min-width:10px ;/* اقل عرض في العنصر  */
  156. max-width: 400px;  /* اكثر عرض للعنصر */
  157.  
  158. height:  ;
  159. /*Default Value=  auto */
  160. height-width:10px ;/* اقل طول للعنصر  */
  161. height-width: 400px;  /* اكثر طول للعنصر */
  162.  
  163. /* */
  164. /* -------------------------------------------------------- */
  165. display:;
  166. /*------------- */
  167. display:none; /* يخفي العنصر تمامآ و يمحية*/
  168. display:inline; /* يجعل العنصار علي خط واحد */
  169. display:block; /* يجعل العنصر يأتي ف صف لوحدة*/
  170. display:inline-block; /* يجل العنصر علي خط واحد ولاكن يعني عناصر block*/
  171. /* -------------------------------------------------------- */
  172. position:;
  173. /*------------- */
  174. position:fixed; /* fixed يجعل مكان ال div ثابت لا يتحرك, ويكمن تحديدة بي top right bottom left  */
  175. top:;
  176. right:;
  177. bottom:;
  178. left:;
  179. position:relative; /* */
  180. top:;
  181. right:;
  182. bottom:;
  183. left:;
  184. position:absolute; /* */
  185. top:;
  186. right:;
  187. bottom:;
  188. left:;
  189. /*Default Value= static */
  190. /* -------------------------------------------------------- */
  191. float:;
  192. /*------------- */
  193. float:left;
  194. float:right;
  195. clear: both;
  196. /*Default Value= none  */
  197. /* */
  198. /* -------------------------------------------------------- */
  199. overflow:;
  200. /*------------- */
  201. overflow: hidden; /* يستخدم لعدم اخراج النصوص خارج النعصر */
  202. overflow: scroll; /* يستخدم لعمل scroll داخل العصنر */
  203. overflow-x: hidden; /* CSS3*/
  204. overflow-y: visible;/* CSS3*/
  205. overflow: auto; /* */
  206.  
  207. /*Default Value= visible */
  208. /* -------------------------------------------------------- */
  209. visibility:;
  210. /*------------- */
  211. visibility: hidden; /* يجفي العنصر ولكن يحفظ مكانه */
  212. /*Default Value= visible  */
  213. /* -------------------------------------------------------- */
  214. z-index: نظام الطبقات لكيفيه وضع عنصر فوق او تحت الاخر و من الذي يظهر و غيرة و هو يتعامل مع عناصر ال position;
  215. /*------------- */
  216. z-index: 1;
  217. z-index: 2;
  218. z-index: 3;
  219. /*Default Value= auto  */
  220. /* */
  221. /* -------------------------------------------------------- */
  222. content: تستخدم لي اضافه محتوي باضافه ال css ويعمل مع ال pefor , after;
  223. /*------------- */
  224. div:after
  225. /*Default Value= none  */
  226.  
  227.     content:"Your can type here from css xD";
  228.  
  229. /* -------------------------------------------------------- */
  230. cursor:يستخدم لتغير شكل الماوس في الموقع;
  231. /*------------- */
  232. cursor:pointer;
  233. cursor: url("");
  234. /*Default Value= auto  */
  235. /* */
  236. /* -------------------------------------------------------- */
  237. prefixes:بدايات تكتب في الخواص;
  238. -webkit-element:; // Google Chrome , Safari , IOS , Android
  239. -moz-element; ; // FireFox
  240. -o-element:; // Opera
  241. -ms-element: ; //Internet Explorer
  242. /* -------------------------------------------------------- */
  243. box-shadow:;
  244. /*------------- */
  245. box-shadow:Horizontal Shadow | Vertical Shadow | Blue | Spread | Color;
  246. /*Default Value= none - color=black */
  247.     box-shadow: -5px 0 10px #f00,
  248.                 5px 5px 10px #00f,
  249.                 5px -5px 10px #0FF;
  250. /* -------------------------------------------------------- */
  251. text-shadow: ;
  252. /*------------- */
  253. text-shadow:Horizontal Shadow | Vertical Shadow | Blue | Spread | Color;
  254. /*Default Value= none - color=black */
  255.     text-shadow: -5px 0 10px #f00,
  256.                 5px 5px 10px #00f,
  257.                 5px -5px 10px #0FF;
  258. /* -------------------------------------------------------- */
  259. box-sizing: ;
  260. /*------------- */
  261. box-sizing: border-box;
  262. box-sizing: content-box;
  263. box-sizing: padding-box;
  264. /* -------------------------------------------------------- */
  265. text-overflow: يستخدم لعمل نقاط لتعريف المستخدم ان هناك تكلمه لباقي الكلام لقرائه المزيد ;
  266. /*------------- */
  267. text-overflow: ellipsis;
  268. /*Default Value=clip*/
  269. /* -------------------------------------------------------- */
  270. word-wrap: ;
  271. /*------------- */
  272. /*Default Value= normal  */
  273. word-wrap:brack-word; /* لكسر الكلمه او بمعني اصح لجل السطر يكمل للاسف */
  274. /* -------------------------------------------------------- */
  275. transform: 2D  3D;
  276.  /*------------- */
  277. transform: rotate(1deg); /* يستخم  لقلب المحتوي */
  278. transform: rotatex(1deg); /* 3D */
  279. transform: rotatey(1deg); /* 3D */
  280. transform: rotatez(1deg); /* 3D */
  281. transform: scale(1,1); /* يستخدم لضعف حجم مساحه الطول و العرض */
  282. transform: scaleX(1,1); /* للمين و الشمال*/
  283. transform: scaleY(1,1); /* للطول و العرض */
  284. transform: translate(10px,10px); /* يستخدم لتحريك المحتوي و يجب اعطائه القيمتين كاملين 10px, 10px */
  285. transform: translateX(10px,10px);
  286. transform: translateY(10px,10px);
  287. transform: skwe; /*ميلان او انحراف للعنصر */
  288. transform:skew(10deg,10deg); /* و يجب ان يطبق علي القيمتين*/
  289. transform: skwex();
  290. transform: skwey();
  291. transform: matrix(); /*تجمع كل العناصر */
  292. /* transform: matrix( ScaleX, SkewY, SkewX, ScaleY ,translateX , translateY); */
  293. /*Default Value=  none */
  294. /* */
  295. /* -------------------------------------------------------- */
  296. resize; /* تستخدم هذة الخاصيه للتحكم في الطول و العرض عن طريق سحب بي الماوس*/
  297. /*------------- */
  298. resize:both;
  299. resize:horizontal;
  300. resize:vertical;
  301. /*Default Value= none  */
  302. /* */
  303. /* -------------------------------------------------------- */
  304. opacity:  /* شفافيه العنصر*/
  305. /*------------- */
  306. opacity:0.6;
  307. /*Default Value=  1 */
  308. /* */
  309. /* -------------------------------------------------------- */
  310. flex-box /* مرونه البوكس */
  311. /*------------- */
  312. /*Default Value=   */
  313. /* */
  314. /* -------------------------------------------------------- */
  315. animation: ;
  316. /*------------- */
  317. animation: none 0 ease 0 1 normal none running;
  318. /* animation [animation name]
  319.              [animation duration]
  320.              [timaing function]
  321.              [animation delay]
  322.              [animation iteraion]
  323.              [animation diraction]
  324.              [animation fill mode]
  325.              [animation play state]*/
  326. animation:;/* keyframes:
  327.             * /*Default Value= none  */
  328.             * animation name=> Required
  329.             * (from (0%) to (100%) or (0%, 10%, 20%, 50%, 100%)
  330.             * CSS attribute */
  331. animation-name:mynameanimeton;
  332. /*Default Value= none  */
  333. animation-direction: 5s;  /* عدد الثوانى التي يتحرك فيها سرعه الفريم*/
  334. animation-iteration-count:infinite; /*عدد تكراك الانميشن , infinite بلا حدود , او ارقام */
  335. /*Default Value=  1 */
  336. animation-direction:normal; /* reverse يبدا من اخر الانميشن, alternate يبدا من الاول و اول ما يوصل للاخر يبدا من الاخر , alternate-reverse alternate و ولكن يبدآ من الاخر هو هو مثل ال  */
  337. animation-delay: 4s; /* تاخير وقت الانميشن*/
  338. /*Default Value= 0  */
  339. animation-fill-mode: none; /*forwards يوقف الانيمشين عند اخر كي فريم , backwards ياخد اول كي فريم وبعدها يتحرك , both يبدآ من اول كي و يتوقف عند اخر كي */
  340. /*Default Value=  none */
  341. animation-play-state:paused; /* paused لي ايقاف و تحريك الانميشن و من الافضل له ان يستخدم جافا  */
  342. /*Default Value=  running */
  343. animation-timing-function:;
  344. /*Default Value=  ease */
  345.  
  346.  
  347. @kayframes mynameanimeton {
  348.     /*Default Value=  normal */
  349.     0%{
  350.         top:10px;
  351.     }
  352.     10%{
  353.         top:10px;
  354.     }
  355.     20%{
  356.         top:10px;
  357.     }    
  358.     30%{
  359.         top:10px;
  360.     }
  361.     40%{
  362.         top:10px;
  363.     }
  364. }
  365. /* */
  366. /* -------------------------------------------------------- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement