Skip to content

Commit 28dcfed

Browse files
committed
fixed inline HTML for Kramdown
1 parent cd365ba commit 28dcfed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_sessions/c1s3/1_why_is_css_hard.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
title: What's hard about CSS?
33
---
44

5-
You've seen quite a bit of CSS now; it all seems quite straightforward - you write some css, tweak it 'til it looks good and you're done! In theory this is exactly how CSS works and is why CSS is brilliant.
5+
You've seen quite a bit of CSS now; it all seems quite straightforward - you write some css, tweak it 'til it looks good and you're done! In theory this is exactly how CSS works and is why CSS is brilliant.
66

7-
<br>
87
<div style="display: block;margin-left: auto; margin-right: auto; width: 200px;">
98
<img src="/assets/cat_pic.jpg" class='img-polaroid' width='200px'>
109
</div>
11-
<br>
1210

1311
Unfortunately, the realities are not quite so straightforward. Different browsers will render CSS with subtle differences. Take a look at the cat picture above. The styling is relatively simple - all we've done is add a border and a shadow. The following CSS will probably do this in your browser:
1412

0 commit comments

Comments
 (0)