👻 Check our latest review to choose the best laptop for Machine Learning engineers and Deep learning tasks!
Line breaks can be added to HTML elements without having to use a
break return using pseudo-elements. Pseudo-elements are used to model a specific part of an element. Here we’ll use:: after to style an HTML element to add a line break.
In the code above, we use the :: after
pseudo-element on each inline element (represented by the span) to add a carriage return (represented by "a") after the line of text span. The :: after
in this case has a content property and a whitespace property available for use.
The "content" property describes the things we want to inject into duration. The white space property tells us if we should preserve white space. Leaving this particular property disabled does not interfere with the in-line locking feature of the bay. So we need to add this particular property to replace it.
As you play more and more with style and layout, you will probably find that the above solution is not necessarily the best solution. If you add padding of any kind along with the background, you will see that these CSS properties tend to fade where the background comes in. See the sample code below which illustrates the point:
Professor Dumbledore
Professor McGonagall
Professor Rogue
professor Trelawney