-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest2.Rmd
executable file
·52 lines (47 loc) · 921 Bytes
/
test2.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
section {
width: 100%;
min-height: 100%;
display:table;
height:inherit;
}
.row {
width: 100%;
height: 100%;
display:table-row;
background: #ddd;
}
.col-left, .col-right {
width: 50%;
display: table-cell;
vertical-align: middle;
}
.col-left {
background: MidnightBlue
}
.col-right {
background: ForestGreen;
text-align: center;
}
}
</style>
---
output: html_document
---
<div class="row">
<div class="col-left">
I should be vertically aligned in the middle...<br><br>And so should the image on the right...
</div>
</div>
<div class="col-right">
<div class="content">
<img src="https://cdn4.iconfinder.com/data/icons/miu-flat-social/60/stackoverflow-128.png">
</div>
</div>
</div>