Using multiple font sizes for code chunks

You can accomplish what you want with some modification to your css and code chunk

---
title: "Size code area"
subtitle: "Because why not"
author: "Mouh"
date: "`r Sys.Date()`"
output: 
  xaringan::moon_reader:
    nature:
      highlightStyle: github
      highlightLines: true
      ratio: "16:9"
    seal: false
---

```{css, echo = FALSE}
.remark-slide-content {
  font-size: 28px;
  padding: 20px 80px 20px 80px;
}
.remark-code, .remark-inline-code {
  background: #f0f0f0;
}
.remark-code {
  font-size: 24px;
}
.huge .remark-code { /*Change made here*/
  font-size: 200% !important;
}
.tiny .remark-code { /*Change made here*/
  font-size: 50% !important;
}
```

---
# Get Started

Wrap your code chunks with the css class you prefer 

.huge[
```{r}
# Some code that I would like to see in HUGE character
head(mtcars)
```
]
---

# Hello World

.tiny[
```{r}
# Some code that I would like to see in tiny characters
head(mtcars)
```
]