fix: converted single to triple backticks7 (#36234)

This commit is contained in:
Randell Dawson
2019-06-20 14:45:11 -07:00
committed by Tom
parent 19a601f135
commit ab2523953b
75 changed files with 1397 additions and 1177 deletions

View File

@@ -12,37 +12,41 @@ localeTitle: مقدمة في CSS
تسمح CSS لمعلمات بتوضيح كيفية ظهور كل جزء من محتوى المطابقة.
`body {
font-size: 15px;
}
a {
color: rebeccapurple;
text-decoration: underline;
}
`
```CSS
body {
font-size: 15px;
}
a {
color: rebeccapurple;
text-decoration: underline;
}
```
### استخدام المغلق
تسمح **أوراق الأنماط الخارجية** لصفحات كثيرة بمشاركة نفس الأنماط.
`<link href="styles.css" rel="stylesheet" type="text/css">
`
```HTML
<link href="styles.css" rel="stylesheet" type="text/css">
```
تطبق **أوراق الأنماط الداخلية** CSS على كل العلامات المطابقة في الصفحة.
`<style>
h1 {
font-family: sans-serif;
margin-bottom: 1.5em;
}
</style>
`
```HTML
<style>
h1 {
font-family: sans-serif;
margin-bottom: 1.5em;
}
</style>
```
تطبق **CSS مضمنة** الأنماط على علامة واحدة.
`<img src="..." style="border: 1px solid red;" />
`
```HTML
<img src="..." style="border: 1px solid red;" />
```
#### معلومات اكثر: