Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <header>
  <h1>Woman in science</h1>
  <h2><cite>H. J. MOZANS, A.M., Ph.D.</cite></h2>
</header>

<main>
  <article>
    <p>I purpose to review the progress and achievements of woman in science from her earliest efforts in ancient Greece down to the present time. I shall relate how, in every department of natural knowledge, when not inhibited by her environment, she has been the colleague and the emulatress, if not the peer, of the most illustrious men who have contributed to the increase and diffusion of human learning. But a proper understanding of this subject seems to require some preliminary survey of the many and diverse obstacles which, in every age of the world's history, have opposed woman's advancement in general knowledge. Without such preliminary survey it is impossible to realize the intensity of her age-long struggle for freedom and justice in things of the mind or fully to appreciate the comparative liberty and advantages she now enjoys in almost every department of intellectual activity. Neither could one understand why woman's achievements in science, compared with those of men, have been so few and of so small import, especially in times past, or why it is that, as a student of nature or as an investigator in the various realms of pure and applied science, we hear so little of her before the second half of the nineteenth century</p>
    <p>To exhibit the nature of the difficulties woman has had to contend with in every age and in every land, in order to secure what we now consider her inalienable rights to things of the mind, it is not necessary to review the history of female education, or to enter into the details of her gradual progress forward and upward in the New and Old Worlds. But it is necessary that we should know what was the attitude of mankind toward woman's education during the leading epochs of the world's history and what were, until almost our own day, the opinions of men—scholars and rulers included—respecting the nature and the duties of woman and what was considered, almost by all, her proper sphere of action. Understanding the numerous and cruel handicaps which she had so long to endure, the opposition to her aspirations which she had to encounter, even during the most enlightened periods of the world's history, and that, too, from those who should have been the first to extend to her a helping hand, we can the better appreciate the extent of her recent intellectual enfranchisement and of the value of the work she has accomplished since she has been free to exercise those God-given faculties which were so long held in restraint.</p>
    <p>The first great bar to the mental development of woman was the assumed superiority of the male sex, the opinion, so generally accepted, that, in the scheme of creation, woman was but "an accident, an imperfection, an error of nature"; that she was either a slave conducing to man's comfort, or, at best, a companion ministering to his amusement and pleasure.</p>
  </article>
</main>
<footer>
  <p><a href="https://www.gutenberg.org/files/34912/34912-h/34912-h.htm" target="_blank" rel="noopener noreferrer">Read the book</a></p>
</footer>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,583;1,265&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  line-height: 1.7;
}

header {
  padding: 2.5rem 1rem;
  text-align: center;
  background-color: #c1639e;
}

h1 {
  margin: 0;
  font-size: 2.9rem;
  font-weight: 583;
}

h2 {
  font-size: 1.3rem;
  font-weight: 265;
}

p {
  font-size: 1.1rem;
}

a {
  color: #5b39f3;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.2rem;
}

main *:last-child {
  margin-bottom: 0;
}

footer {
  text-align: center;
}

              
            
!

JS

              
                // Wrote about it here: https://www.alexandracaulea.com/posts/remove-margin-from-last-block-element

              
            
!
999px

Console