Patrick Arlt | @patrickarlt
Lots of tools. Very little fundamentals.
This talk is all fundamentals
Lots of supplimental info in these slides. Designed to help you keep learning beyond this talk.
Closer to art then computer science
Lots of hard, unintuitive concepts
It has taken me years to amass this knowlage
Customize Esri Apps
Use Frameworks
Build Web Pages
Make Apps
"rule"
html, body, #map {
margin: 0;
width: 100%;
height: 100%;
}
"selector"
html, body, #map
"declaration"
html, body, #map {
}
"property"
html, body, #map {
margin:
}
"value"
html, body, #map {
margin: 0;
}
"property"
html, body, #map {
margin: 0;
width:
}
"value"
html, body, #map {
margin: 0;
width: 100%;
}
"property"
html, body, #map {
margin: 0;
width: 100%;
height:
}
"value"
html, body, #map {
margin: 0;
width: 100%;
height: 100%;
}
"rule"
html, body, #map {
margin: 0;
width: 100%;
height: 100%;
}
Cascading Style Sheets
Styles from different sources cascade and coalesce into the final styles for an HTML tag.
<link>
<style>
tag<style>
attributes <div style="...">
!important
!important
<div style="...">
<style>
and <link>
tags#map
.container
body
In a specificity tie the last loaded rule wins.
Right click on something you want to change click "Inspect Element"
Explore a storymapSometime browsers will add experimental or early support for a new standard. They will often add a prefix like -webkit-
, -moz-
or -ms-
to a property or value.
Sites like Can I Use? or MDN to check if browsers support a specific property.
Tools like Autoprefixer to add prefixes automatically.
Remember Microsoft only supports IE 11 offically now. All other versions are not supported and might have security bugs.
Scary!