Skip to content

Commit 2c6f017

Browse files
authored
Remove button class (#4088)
* Change buttons to links in FE developer callouts * Remove miscellaneous uses of button class Co-authored-by: Will <>
1 parent 4281bac commit 2c6f017

File tree

30 files changed

+57
-70
lines changed

30 files changed

+57
-70
lines changed

files/en-us/learn/accessibility/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
4141
<p>We have put together a course that includes all the essential information you need to
4242
work towards your goal.</p>
4343

44-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
45-
</p>
44+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
45+
4646
</div>
4747

4848
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/css/building_blocks/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2020
<p>We have put together a course that includes all the essential information you need to
2121
work towards your goal.</p>
2222

23-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
24-
</p>
23+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
24+
2525
</div>
2626

2727
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/css/css_layout/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2929
<p>We have put together a course that includes all the essential information you need to
3030
work towards your goal.</p>
3131

32-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
33-
</p>
32+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
33+
3434
</div>
3535

3636
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/css/first_steps/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2020
<p>We have put together a course that includes all the essential information you need to
2121
work towards your goal.</p>
2222

23-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
24-
</p>
23+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
24+
2525
</div>
2626

2727
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/css/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2323
<p>We have put together a course that includes all the essential information you need to
2424
work towards your goal.</p>
2525

26-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
27-
</p>
26+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
27+
2828
</div>
2929

3030
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/css/styling_text/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2828
<p>We have put together a course that includes all the essential information you need to
2929
work towards your goal.</p>
3030

31-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
32-
</p>
31+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
32+
3333
</div>
3434

3535
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/forms/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2222
<p>We have put together a course that includes all the essential information you need to
2323
work towards your goal.</p>
2424

25-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
26-
</p>
25+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
26+
2727
</div>
2828

2929
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2020
<p>We have put together a course that includes all the essential information you need to
2121
work towards your goal.</p>
2222

23-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
24-
</p>
23+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
24+
2525
</div>
2626

2727
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/html/introduction_to_html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2323
<p>We have put together a course that includes all the essential information you need to
2424
work towards your goal.</p>
2525

26-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
27-
</p>
26+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
27+
2828
</div>
2929

3030
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/html/multimedia_and_embedding/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
3434
<p>We have put together a course that includes all the essential information you need to
3535
work towards your goal.</p>
3636

37-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
38-
</p>
37+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
38+
3939
</div>
4040

4141
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/html/tables/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2525
<p>We have put together a course that includes all the essential information you need to
2626
work towards your goal.</p>
2727

28-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
29-
</p>
28+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
29+
3030
</div>
3131

3232
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
3232
<p>We have put together a course that includes all the essential information you need to
3333
work towards your goal.</p>
3434

35-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
36-
</p>
35+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
36+
3737
</div>
3838

3939
<h2 id="Where_to_start">Where to start</h2>

files/en-us/learn/javascript/asynchronous/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2727
<p>We have put together a course that includes all the essential information you need to
2828
work towards your goal.</p>
2929

30-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
31-
</p>
30+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
31+
3232
</div>
3333

3434
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/javascript/building_blocks/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2828
<p>We have put together a course that includes all the essential information you need to
2929
work towards your goal.</p>
3030

31-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
32-
</p>
31+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
32+
3333
</div>
3434

3535
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/javascript/client-side_web_apis/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2727
<p>We have put together a course that includes all the essential information you need to
2828
work towards your goal.</p>
2929

30-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
31-
</p>
30+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
31+
3232
</div>
3333

3434
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/javascript/first_steps/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2929
<p>We have put together a course that includes all the essential information you need to
3030
work towards your goal.</p>
3131

32-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
33-
</p>
32+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
33+
3434
</div>
3535

3636
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/javascript/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2222
<p>We have put together a course that includes all the essential information you need to
2323
work towards your goal.</p>
2424

25-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
26-
</p>
25+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
26+
2727
</div>
2828

2929
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/javascript/objects/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2323
<p>We have put together a course that includes all the essential information you need to
2424
work towards your goal.</p>
2525

26-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
27-
</p>
26+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
27+
2828
</div>
2929

3030
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/tools_and_testing/client-side_javascript_frameworks/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
4040
<p>We have put together a course that includes all the essential information you need to
4141
work towards your goal.</p>
4242

43-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
44-
</p>
43+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
44+
4545
</div>
4646

4747
<h2 id="Introductory_guides">Introductory guides</h2>

files/en-us/learn/tools_and_testing/cross_browser_testing/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2727
<p>We have put together a course that includes all the essential information you need to
2828
work towards your goal.</p>
2929

30-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
31-
</p>
30+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
31+
3232
</div>
3333

3434
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/tools_and_testing/github/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
3636
<p>We have put together a course that includes all the essential information you need to
3737
work towards your goal.</p>
3838

39-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
40-
</p>
39+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
40+
4141
</div>
4242

4343
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/tools_and_testing/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
3636
<p>We have put together a course that includes all the essential information you need to
3737
work towards your goal.</p>
3838

39-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
40-
</p>
39+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
40+
4141
</div>
4242

4343
<h2 id="Prerequisites">Prerequisites</h2>

files/en-us/learn/tools_and_testing/understanding_client-side_tools/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
3030
<p>We have put together a course that includes all the essential information you need to
3131
work towards your goal.</p>
3232

33-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
34-
</p>
33+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
34+
3535
</div>
3636

3737
<h2 id="Guides">Guides</h2>

files/en-us/mdn/guidelines/css_style_guide/index.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ <h2 id="Inline_styles">Inline styles</h2>
1919

2020
<p>This section lists the inline styles available for style content blocks on MDN.</p>
2121

22-
<h3 id=".button"><code>.button</code></h3>
23-
24-
<p>Gives any element MDN button styling. Usually used to style links ({{HTMLElement("button")}} elements are stripped from article source code, for security reasons.)</p>
25-
26-
<p><a class="button" href="https://github.com/mdn/simple-web-worker/archive/gh-pages.zip">Download source code</a></p>
27-
28-
<h4 id="Example_syntax">Example syntax</h4>
29-
30-
<pre class="brush: html">&lt;a href="https://github.com/mdn/simple-web-worker/archive/gh-pages.zip" class="button"&gt;Download source code&lt;/a&gt;</pre>
31-
3222
<h3 id=".hidden"><code>.hidden</code></h3>
3323

3424
<p>Allows you to hide content in the final rendered view. Typically this is used to provide HTML, CSS, and JavaScript to the script that creates the live code samples while only displaying the relevant language to the reader.</p>

files/en-us/web/api/web_audio_api/using_audioworklet/index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,12 @@ <h2 id="High_level_overview">High level overview</h2>
4040

4141
<p>The example code found on this page is derived from <a href="https://glitch.com/~audioworkletnode-sample">this working example</a> which is available on <a href="https://glitch.me/">Glitch</a>. The example creates an oscillator node and adds white noise to it using an {{domxref("AudioWorkletNode")}} before playing the resulting sound out. Slider controls are available to allow controlling the gain of both the oscillator and the audio worklet's output.</p>
4242

43-
<div class="threecolumns" style="width: 42em;">
44-
<p><a class="button ignore-extermal" href="https://glitch.com/~audioworkletnode-sample">Glitch Project Page</a></p>
4543

46-
<p style="text-align: center;"><a class="button ignore-extermal" href="https://glitch.com/edit/#!/audioworkletnode-sample">See the Code</a></p>
44+
<p><a href="https://glitch.com/~audioworkletnode-sample"><strong>Glitch Project Page</strong></a></p>
4745

48-
<p style="text-align: right;"><a class="button ignore-extermal" href="https://audioworkletnode-sample.glitch.me/" style="text-align: right;">Try it Live</a></p>
49-
</div>
46+
<p><a href="https://glitch.com/edit/#!/audioworkletnode-sample"><strong>See the Code</strong></a></p>
47+
48+
<p><a href="https://audioworkletnode-sample.glitch.me/"><strong>Try it Live</strong></a></p>
5049

5150
<h2 id="Creating_an_audio_worklet_processor">Creating an audio worklet processor</h2>
5251

files/en-us/web/css/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
4040
<p>We have put together a course that includes all the essential information you need to
4141
work towards your goal.</p>
4242

43-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
44-
</p>
43+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
44+
4545
</div>
4646

4747
<h2 class="Documentation" id="Tutorials">Tutorials</h2>

files/en-us/web/html/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
3838
<p>We have put together a course that includes all the essential information you need to
3939
work towards your goal.</p>
4040

41-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
42-
</p>
41+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
42+
4343
</div>
4444

4545
<h2 class="Tools" id="Beginners_tutorials">Beginner's tutorials</h2>

files/en-us/web/javascript/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ <h4 id="Looking_to_become_a_front-end_web_developer">Looking to become a front-e
2525
<p>We have put together a course that includes all the essential information you need to
2626
work towards your goal.</p>
2727

28-
<p><a class="button primary" href="/en-US/docs/Learn/Front-end_web_developer">Get started</a>
29-
</p>
28+
<p><a href="/en-US/docs/Learn/Front-end_web_developer"><strong>Get started</strong></a></p>
29+
3030
</div>
3131

3232
<h2 id="Tutorials">Tutorials</h2>

files/en-us/web/svg/applying_svg_effects_to_html_content/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ <h3 id="Example_Filtering">Example: Filtering</h3>
183183

184184
<p>{{EmbedLiveSample('Example_Filtering', 650, 200)}}</p>
185185

186-
<p style="display: none;"><a class="button liveSample" href="/files/3329/filterdemo.xhtml">View this example live</a></p>
187-
188186
<h3 id="Example_Blurred_Text">Example: Blurred Text</h3>
189187

190188
<p>In order to blur text, Webkit based browsers have a (prefixed) CSS filter called blur (see also <a href="/en-US/docs/Web/CSS/filter#blur%28%29_2">CSS filter</a>). You can achieve the same effect using SVG filters.</p>

files/en-us/web/svg/namespaces_crash_course/example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
---
88
<p>In this example, we use <a href="/en-US/docs/Glossary/XHTML">XHTML</a>, <a href="/en-US/docs/Web/SVG">SVG</a>, <a href="/en-US/docs/Web/JavaScript">JavaScript</a>, and the <a href="/en-US/docs/Web/API/Document_Object_Model">DOM</a> to animate a swarm of "motes". These motes are governed by two simple principles. First, each mote tries to move towards the mouse cursor, and second each mote tries to move away from the average mote position. Combined, we get this very natural-looking behavior.</p>
99
<p>This is done completely in W3C Standards–XHTML, SVG, and JavaScript–no Flash or any vendor-specific extensions. This example should work in Firefox 1.5 and above.</p>
10-
<p><a class="internal button liveSample" href="https://media.prod.mdn.mozit.cloud/samples/svg/swarm-of-motes.xhtml">View the example</a></p>
10+
<p><a href="https://media.prod.mdn.mozit.cloud/samples/svg/swarm-of-motes.xhtml">View the example</a></p>
1111
<pre class="brush:xml">&lt;?xml version='1.0'?&gt;
1212
&lt;html xmlns="http://www.w3.org/1999/xhtml"
1313
xmlns:svg="http://www.w3.org/2000/svg"&gt;

0 commit comments

Comments
 (0)