I have wondered for a while how well the RStudio Browser / Viewer pane supports some modern CSS. When I spotted this very handy resource Solved By Flexbox from @philipwalton, I thought it would provide a great suite of tests. It appears most is well supported except the vertical alignment.
Last active
August 29, 2015 14:10
-
-
Save timelyportfolio/de72cc6a04db0a6085d3 to your computer and use it in GitHub Desktop.
test flexbox in @rstudio Browser / Viewer using @philipwalton demos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test flexbox css in RStudio browser | |
# using this really nice resource from Philip Walton | |
# appears fairly well supported except mainly vertical alignment | |
library(htmltools) | |
library(rvest) | |
library(XML) | |
library(pipeR) | |
html("http://philipwalton.github.io/solved-by-flexbox/demos/grids/index.html") %>>% | |
#html("http://philipwalton.github.io/solved-by-flexbox/demos/media-object/index.html") %>>% | |
#html("http://philipwalton.github.io/solved-by-flexbox/demos/media-object/index.html") %>>% | |
#html("http://philipwalton.github.io/solved-by-flexbox/demos/input-add-ons//index.html") %>>% | |
#html("http://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/index.html") %>>% | |
#html("http://philipwalton.github.io/solved-by-flexbox/demos/holy-grail/index.html") %>>% | |
#html("http://philipwalton.github.io/solved-by-flexbox/demos/vertical-centering/index.html") %>>% | |
saveXML %>>% | |
HTML %>>% | |
html_print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment