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

              
                <div class="uyari">Tarayıcınız CSS :has() ebeveyn seçicisini desteklemiyor</div>

<table class="uzerinde" id="golKrallari" summary="Türkiye Süper Ligi'nin son 3 yılında en çok gol atan futbolcu listesi" cellspacing="1">
  <caption>1. LİG TARİHİNDEKİ GOL KRALLARI(SON 3 YIL)</caption>
  <thead>
    <tr>
      <th scope="col" class="bgYok"></th>
      <th scope="col" abbr="sezon" class="bgYok">SEZON</th>
      <th scope="col" abbr="adsoyad">ADI-SOYADI</th>
      <th scope="col" abbr="takım">TAKIM</th>
      <th scope="col" abbr="maç">MAÇ SAYISI</th>
      <th scope="col" abbr="gol">ATTIĞI GOL</th>
      <th scope="col" abbr="ortalama">ORTALAMA</th>
    </tr>
  <tbody>
    <tr>
      <th><input type="checkbox" /></th>
      <th scope="row" abbr="03-04" class="baslikBir">2003 - 2004</th>
      <td class="tabloZRFark" tabindex="1">ZAFER BİRYOL</td>
      <td class="tabloZRFark">Konyaspor</td>
      <td class="tabloZRFark">34</td>
      <td class="tabloZRFark">25</td>
      <td class="tabloZRFark">0.74</td>
    </tr>
    <tr>
      <th><input type="checkbox" /></th>
      <th scope="row" abbr="04-05" class="baslikIki">2004 - 2005</th>
      <td tabindex="2">FATİH TEKKE</td>
      <td>Trabzonspor</td>
      <td>34</td>
      <td>31</td>
      <td>0.91</td>
    </tr>
    <tr>
      <th><input type="checkbox" /></th>
      <th scope="row" abbr="05-06" class="baslikBir">2005 - 2006</th>
      <td class="tabloZRFark" tabindex="3">GÖKHAN ÜNAL</td>
      <td class="tabloZRFark">Kayserispor</td>
      <td class="tabloZRFark">32</td>
      <td class="tabloZRFark">25</td>
      <td class="tabloZRFark">0.78</td>
    </tr>
  </tbody>
  <tfoot>
    <tr>
      <td colspan="7">Kaynak: Fatih Futbol Okulu(F.F.O)</td>
    </tr>
  </tfoot>
</table>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Viaoda+Libre&display=swap');

body{
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
  font-size: 16px;
  background: #B3B3B3;
  color: #2b2b2b;
}

body {
	font: normal 14px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

#golKrallari {
	width: 700px;
  margin-inline: auto;
  font: bold 14px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

caption {
	padding: 0 0 5px 0;
	font-size: 18px;
	text-align: right;
}

thead th {
  background: #333;
  color: #fff;
}

th {
	border-bottom:1px solid #E0E0E0;
	border-right:1px solid #E0E0E0;
	border-top:1px solid #E0E0E0;
	padding: 6px;
}

th.bgYok {
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #E0E0E0;
	background: none;

}

th.baslikIki {
	border-left: 1px solid #E0E0E0;
	border-top: 0;
	padding-left:25px;
	background: #fff url(https://fatihhayrioglu.com/dokumanlar/images/top2.gif) 5px no-repeat;
}

th.baslikBir {
	border-left: 1px solid #E0E0E0;
	border-top: 0;
	padding-left:25px;
	background: #F3F3F3 url(https://fatihhayrioglu.com/dokumanlar/images/top.gif) 5px no-repeat;
}

td {
	border-bottom:1px solid #E0E0E0;
	border-right:1px solid #E0E0E0;
	background-color: #fff;
	padding: 6px;
	color: #474747;
	font:12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  outline: none;
}


td.tabloZRFark {
	background-color: #f3f3f3;
	color: #474747;
}

tfoot tr td{
	text-align:right;
	border-left:1px solid #e0e0e0;
	border-bottom:2px solid #e0e0e0;
	font:italic 9px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

#golKrallari tr.uzerineGelince td,
#golKrallari tr.uzerineGelince th{
	background:#474747;
	color:#f3f3f3;
}

tbody tr:has(input:checked) td {
  background: #636363;
  color: #fff;
}

.uyari {
  margin-inline: auto;
  margin-block: 20px;
  width: 550px;
  background-color: #fff;
  padding: 20px;
  border: 4px solid #e6b31a;
}

@supports(selector(:has(+ *))) {
  .uyari {
    display: none;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console