57 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			57 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
|   | --- | ||
|  | title: CSS Cursors | ||
|  | localeTitle: مؤشرات CSS | ||
|  | --- | ||
|  | ## مؤشرات CSS
 | ||
|  | 
 | ||
|  | تحدد خاصية المؤشر نوع المؤشر الذي سيتم عرضه عند التمرير فوق عنصر. لديها 36 القيم المحتملة: | ||
|  | 
 | ||
|  |  `    .auto            { cursor: auto; }  | ||
|  |     .default         { cursor: default; }  | ||
|  |     .none            { cursor: none; }  | ||
|  |     .context-menu    { cursor: context-menu; }  | ||
|  |     .help            { cursor: help; }  | ||
|  |     .pointer         { cursor: pointer; }  | ||
|  |     .progress        { cursor: progress; }  | ||
|  |     .wait            { cursor: wait; }  | ||
|  |     .cell            { cursor: cell; }  | ||
|  |     .crosshair       { cursor: crosshair; }  | ||
|  |     .text            { cursor: text; }  | ||
|  |     .vertical-text   { cursor: vertical-text; }  | ||
|  |     .alias           { cursor: alias; }  | ||
|  |     .copy            { cursor: copy; }  | ||
|  |     .move            { cursor: move; }  | ||
|  |     .no-drop         { cursor: no-drop; }  | ||
|  |     .not-allowed     { cursor: not-allowed; }  | ||
|  |     .all-scroll      { cursor: all-scroll; }  | ||
|  |     .col-resize      { cursor: col-resize; }  | ||
|  |     .row-resize      { cursor: row-resize; }  | ||
|  |     .n-resize        { cursor: n-resize; }  | ||
|  |     .e-resize        { cursor: e-resize; }  | ||
|  |     .s-resize        { cursor: s-resize; }  | ||
|  |     .w-resize        { cursor: w-resize; }  | ||
|  |     .ns-resize       { cursor: ns-resize; }  | ||
|  |     .ew-resize       { cursor: ew-resize; }  | ||
|  |     .ne-resize       { cursor: ne-resize; }  | ||
|  |     .nw-resize       { cursor: nw-resize; }  | ||
|  |     .se-resize       { cursor: se-resize; }  | ||
|  |     .sw-resize       { cursor: sw-resize; }  | ||
|  |     .nesw-resize     { cursor: nesw-resize; }  | ||
|  |     .nwse-resize     { cursor: nwse-resize; }  | ||
|  | `  | ||
|  | 
 | ||
|  |  | ||
|  | 
 | ||
|  | يمكنك أيضًا تعيين صورة كمؤشر. | ||
|  | 
 | ||
|  |  `.custom-cursor {  | ||
|  |   cursor: url(cursor-image.png);  | ||
|  |  }  | ||
|  | `  | ||
|  | 
 | ||
|  | #### معلومات اكثر:
 | ||
|  | 
 | ||
|  | *   تحقق من قيم المؤشر أعلاه في الإجراء: [codepen](https://codepen.io/chriscoyier/pen/uCwfB) | ||
|  | *   شبكة مطوري موزيلا: [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor) | ||
|  | *   دعم المتصفح: [caniuse](http://caniuse.com/#search=cursor) | ||
|  | *   أمثلة المؤشر من w3schools: [w3schools](https://www.w3schools.com/cssref/playit.asp?filename=playcss_cursor&preval=none) |