Update css reference mention in versions >= 3.0 (#22382)

pull/22384/head
dharmatech 2021-05-22 18:44:45 -07:00 committed by GitHub
parent 796c2dbb9e
commit b2ec94e544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -249,13 +249,13 @@ The preceding code makes the following changes:
```
* Adds a **Courses** column that displays courses taught by each instructor. See [Explicit line transition](xref:mvc/views/razor#explicit-line-transition) for more about this razor syntax.
* Adds code that dynamically adds `class="success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class.
* Adds code that dynamically adds `class="table-success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class.
```html
string selectedRow = "";
if (item.CourseID == Model.CourseID)
{
selectedRow = "success";
selectedRow = "table-success";
}
<tr class="@selectedRow">
```
@ -530,13 +530,13 @@ The preceding code makes the following changes:
* Adds a **Courses** column that displays courses taught by each instructor. See [Explicit line transition](xref:mvc/views/razor#explicit-line-transition) for more about this razor syntax.
* Adds code that dynamically adds `class="success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class.
* Adds code that dynamically adds `class="table-success"` to the `tr` element of the selected instructor and course. This sets a background color for the selected row using a Bootstrap class.
```html
string selectedRow = "";
if (item.CourseID == Model.CourseID)
{
selectedRow = "success";
selectedRow = "table-success";
}
<tr class="@selectedRow">
```