A simple method for aligning media items (such as pictures or videos) with content is to use bootstrap. Media objects are frequently used to show tweets, blog comments, and other content:
Basic Media Object
Place media material inside a child container with the .media-body class and add the .media class to the container element to create a media object. Use the spacing tools to add margins and padding as necessary:
Example
John Doe Posted on February 19, 2016
Lorem ipsum...
Nested Media Objects
A media object inside another media object is known as nested media objects:
Place a fresh .mediacontainer within the .media-body container to nest media objects:
Example
John Doe Posted on February 19, 2016
Lorem ipsum...
Jane Doe Posted on February 20 2016
Lorem ipsum...
Right-Aligned Media Image
Place the media picture after the .media-bodycontainer to position it to the right:
Example
John Doe Posted on February 19, 2016
Lorem ipsum...
Top, Middle or Bottom Alignment
Utilize the align-self-* classes and flex utilities to position the media object at the top, middle, or bottom: