bem in nested element
<div class="c-card">
<div class="c-card__header">
<h2 class="c-card__title">Title text here</h2>
</div>
<div class="c-card__body">
<img class="c-card__img" src="some-img.png" alt="description">
<p class="c-card__text">Lorem ipsum dolor sit amet, consectetur</p>
<p class="c-card__text">Adipiscing elit.
<a href="/somelink.html" class="c-card__link">Pellentesque amet</a>
</p>
</div>
</div>
Also in CSS:
- how to create polaroid effect in css
- css grid area
- text animation css
- make footer stick to bottom without overlap over other elements
- normalize css cdn
- coding that removes list marker from nav in css
- center div vertically html css
- css set variable
- font height css
- css box model
- css button no style
- How to resize an background image to fit in the browser window?
- css onclick change color
- animate font weight css
- cursor as image css
- grid-template-areas css
- how to give a background color strip in html and css
- enter in css
- HOW TO REDUCE BACKGROUND IMAGE SIZE IN CSS
- css focus border radius
- full page background image
- css :focus
- how to make a text at the top of page in css
- nth child css