Cell-Level Styling Examples¶
This notebook demonstrates various cell-level styling options.
Important Information¶
This cell uses a yellow highlight to draw attention to important content.
In [ ]:
# This cell demonstrates error/warning styling
import sys
print('Warning: This is a demonstration of error styling')
print('Use this style for cells that show error examples')
In [ ]:
# Success styling example
result = 42
print(f'Success! The answer is {result}')
print('Use this style to highlight successful operations')
Stylish Gradient¶
This cell uses a CSS gradient for a modern, eye-catching appearance.
Perfect for section headers or key takeaways.
In [ ]:
# Elevated card-like styling
data = {'x': [1, 2, 3], 'y': [4, 5, 6]}
print('This cell has a subtle shadow for depth')
print(data)