84 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			84 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
|  | --- | ||
|  | title: CSS Framework Bootstrap | ||
|  | localeTitle: CSS Framework Bootstrap | ||
|  | --- | ||
|  | # CSS Framework Bootstrap
 | ||
|  | 
 | ||
|  | يعد Bootstrap هو إطار CSS الأكثر شيوعًا لتطوير المشاريع الأولى المتجاوبة والمتنقلة للويب. | ||
|  | 
 | ||
|  | ## الابتداء - احدث اصدار: 4.1
 | ||
|  | 
 | ||
|  | في ما يلي نموذج HTML بسيط يشتمل على أحدث CSS وملف Javascript مجمّعة ومختصرة لمكتبة Bootstrap. لقد استخدمنا CDN في هذا المثال ، ولكن يمكنك التحقق [من الطرق الأخرى لتثبيت Bootstrap](https://getbootstrap.com/docs/4.1/getting-started/download/) . | ||
|  | 
 | ||
|  |  ` | ||
|  |     <!DOCTYPE html>  | ||
|  |     <html lang="en">  | ||
|  |       <head>  | ||
|  |         <meta charset="utf-8">  | ||
|  |         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">  | ||
|  |         <title>Bootstrap</title>  | ||
|  |   | ||
|  |         <!--Latest compiled and minified CSS-->  | ||
|  |   <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">  | ||
|  |       </head>  | ||
|  |       <body>  | ||
|  |         <!-- Add all HTML Code below -->  | ||
|  |   | ||
|  |         <!-- Add all HTML Code above -->  | ||
|  |   | ||
|  |         <!-- jQuery -->  | ||
|  |         <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>  | ||
|  |         <!-- popper.js -->  | ||
|  |         <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>  | ||
|  |         <!-- Latest compiled bootstrap JavaScript -->  | ||
|  |         <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>  | ||
|  |       </body>  | ||
|  |     </html>  | ||
|  | `  | ||
|  | 
 | ||
|  | ## الابتداء - Bootstrap 3
 | ||
|  | 
 | ||
|  | Bootstrap 3 ليس أحدث إصدار مستقر من Bootstrap ، ولكنه لا يزال الإصدار الأكثر استخدامًا. ستجد في الكثير من القوالب ، وورد المواضيع والمشاريع وغيرها الكثير. مع أخذ ذلك في الاعتبار ، من الواضح أنه لا يزال من المفيد معرفة كيفية استخدامه. لا تتردد في الذهاب إلى Trstough على [وثائق Bootstrap](https://getbootstrap.com/docs/3.3/getting-started/) الممتازة. | ||
|  | 
 | ||
|  |  ` | ||
|  | <!DOCTYPE html>  | ||
|  |  <html lang="en">  | ||
|  |   <head>  | ||
|  |     <!-- Required meta tags -->  | ||
|  |     <meta charset="utf-8">  | ||
|  |     <meta http-equiv="X-UA-Compatible" content="IE=edge">  | ||
|  |     <meta name="viewport" content="width=device-width, initial-scale=1">  | ||
|  |   | ||
|  |     <!-- Bootstrap 3 CSS -->  | ||
|  |     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">  | ||
|  |   | ||
|  |     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->  | ||
|  |     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->  | ||
|  |     <!--[if lt IE 9]> 
 | ||
|  |     <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>  | ||
|  |     <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>  | ||
|  |     <![endif]-->  | ||
|  |   </head>  | ||
|  |   <body>  | ||
|  |     <!-- Add all HTML Code below -->  | ||
|  |   | ||
|  |     <!-- Add all HTML Code above -->  | ||
|  |   | ||
|  |     <!-- jQuery library -->  | ||
|  |     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>  | ||
|  |     <!-- IU jQuery for better animations-->  | ||
|  |     <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>  | ||
|  |     <!-- compiled JavaScript -->  | ||
|  |     <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>  | ||
|  |   </body>  | ||
|  |  </html>  | ||
|  | `  | ||
|  | 
 | ||
|  | **ملاحظة:** تتوفر إصدارات أخرى ويمكن العثور عليها على موقع Bootstrap. | ||
|  | 
 | ||
|  | ## مصادر التعلم
 | ||
|  | 
 | ||
|  | *   الخروج من وثائق Bootstrap 4 الرسمية [هنا](https://getbootstrap.com/docs/4.1/getting-started/introduction/) | ||
|  | *   الخروج من وثائق Bootstrap 3 الرسمية [هنا](https://getbootstrap.com/docs/3.3/getting-started/) . | ||
|  | *   مستودع GitHub مفتوح المصدر لـ Bootout Bootout في Checkout [هنا](https://github.com/twbs/bootstrap) . | ||
|  | *   في [FreeCodeCamp](https://www.freecodecamp.com/) ، نقوم بتدريس Bootstrap كجزء من مناهجنا الدراسية. |