OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .test-row { | 5 .test-row { |
6 display: -webkit-flex; | 6 display: flex; |
7 margin-bottom: 5px; | 7 margin-bottom: 5px; |
8 } | 8 } |
9 .test-row > div { | 9 .test-row > div { |
10 -webkit-flex: none; | 10 flex: none; |
11 } | 11 } |
12 | 12 |
13 .container { | 13 .container { |
14 margin-right: 5px; | 14 margin-right: 5px; |
15 border: 5px solid lightgreen; | 15 border: 5px solid lightgreen; |
16 width: 100px; | 16 width: 100px; |
17 } | 17 } |
18 | 18 |
19 .flexbox { | 19 .flexbox { |
20 display: block; | 20 display: block; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 element.firstChild.scrollLeft = element.firstChild.scrollWidth - element.fir
stChild.offsetWidth; | 72 element.firstChild.scrollLeft = element.firstChild.scrollWidth - element.fir
stChild.offsetWidth; |
73 }); | 73 }); |
74 | 74 |
75 Array.prototype.forEach.call(document.querySelectorAll(".bottom-almost"), functi
on(element) { | 75 Array.prototype.forEach.call(document.querySelectorAll(".bottom-almost"), functi
on(element) { |
76 element.firstChild.scrollTop = element.firstChild.scrollHeight - element.fir
stChild.offsetHeight; | 76 element.firstChild.scrollTop = element.firstChild.scrollHeight - element.fir
stChild.offsetHeight; |
77 }); | 77 }); |
78 | 78 |
79 </script> | 79 </script> |
80 </body> | 80 </body> |
81 </html> | 81 </html> |
OLD | NEW |