You could do something like this
<?php $terms = get_the_terms( $post->ID, 'taxonomy_name' ); ?>
<div class="myclass<?php foreach( $terms as $term ) echo ' ' . $term->slug; ?>">
<!-- content -->
</div>
You could do something like this
<?php $terms = get_the_terms( $post->ID, 'taxonomy_name' ); ?>
<div class="myclass<?php foreach( $terms as $term ) echo ' ' . $term->slug; ?>">
<!-- content -->
</div>