En este tutorial mostramos como hacer uso de la condicional if-else
Código Stylus
fuente(size, weight)
font-size size
if(weight)
font-weight bold
else
font-weight normal
#titulo
fuente(20px, false)
Código CSS
#titulo {
font-size: 20px;
font-weight: normal;
}
Siguenos en:
Facebook -- https://www.facebook.com/CodeFluid
Twitter -- https://twitter.com/CodeFluid
GitHub -- https://github.com/CodeFluid
Vimeo -- https://vimeo.com/user47266653







0 comentarios:
Publicar un comentario