According to this source, when there are conflicting CSS styles on the same element, embedded styles override external styles but that is not what I have observed.
I have the following HTML (simplified):
<html>
<head>
<link rel="stylesheet" type="text/css" href="foundation.min.css" />
<style type="text/css">
.dialog_error_container
{
display: none;
}
</style>
</head>
<body>
<div class="dialog_error_container alert-box alert">...</div>
</body>
</html>
I was expecting to see the rule defined for .dialog_error_container taking precedence over the one for div.alert-box but I got the opposite result (see the image below)

Please explain to me why the embedded style doesn't override the external style.
.dialog_error_container.alert-box.alert { display: none; }