Skip to content

Instantly share code, notes, and snippets.

@ramiroaznar
Last active February 3, 2017 11:51
Show Gist options
  • Save ramiroaznar/017425d13de2085fe519d6153c7ba510 to your computer and use it in GitHub Desktop.
Save ramiroaznar/017425d13de2085fe519d6153c7ba510 to your computer and use it in GitHub Desktop.
Madrid Accessibility with CARTO
<!DOCTYPE html>
<html>
<head>
<title>Madrid Accessibility with CARTO</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="map1">
<iframe frameborder="0" src="https://team.carto.com/u/ramirocartodb/builder/f9f8a670-7994-11e6-8058-0e05a8b3e3d7/embed" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>
<div id="map2">
<iframe frameborder="0" src="https://team.carto.com/u/ramirocartodb/builder/0639ddde-79b6-11e6-a450-0e3ebc282e83/embed" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>
<div id="map3">
<iframe frameborder="0" src="https://team.carto.com/u/ramirocartodb/builder/4f5946c6-7993-11e6-87de-0ee66e2c9693/embed" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>
<div id="map4">
<iframe frameborder="0" src="https://team.carto.com/u/ramirocartodb/builder/12a5a056-79bd-11e6-b756-0e3ff518bd15/embed" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
</div>
</body>
</html>
html, body {
height: 100%;
}
div {
position:relative;
width: 50%;
height: 50%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
iframe {
width: 100%;
height: 100%;
}
#map1, #map3 {
float:left;
}
#map2, #map4 {
float:right;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment