I am looking to create bubbles on a webpage to display content. I decided to create a CSS class called .bubble and added positioning values as inline styles. However, this resulted in long lines of code. My experience with various programming languages has taught me the importance of following style guides which often recommend a maximum line length and how to handle overly long lines.
<div class="bubble"
style="top: 10%;
left: 40%;
right: 60%;
width: 480px;
height: 295">
Content.
</div>
Having lines of code that are too lengthy can be visually unappealing. What would be the best approach for formatting this?