Commit 34611bbb authored by Kim, Subin's avatar Kim, Subin
Browse files

marquee 적용

parent 921e4255
import styles from "./schedule.module.scss";
const KUSchedule = () => {
const KUSchedule = ({ title="복수전공 신청" }) => {
return (
<div className="card w-75 rounded-0 border-dark mx-auto">
<div className={`card-header rounded-0 px-1 ${styles.header}`}>
<img className={styles.ku_tiger} src={process.env.PUBLIC_URL + '/ku-tiger(bgX).png'} alt="어흥이" />
</div>
<div className="card-body text-center pb-2">
<h5 className={`card-title ${styles.flowText}`}>복수전공 신청복수전공 신청복수전공 신청복수전공 신청</h5>
{title.length > 12 ? <marquee className={`card-title fs-5 ${styles.flowText}`} scrollamount="6">{title}</marquee> : <h5 className="card-title">{title}</h5>}
<p className="card-text text-secondary mb-1">21.09.27 ~ 21.09.29</p>
<p className="text-start mb-0">복수전공신청</p>
</div>
......
......@@ -66,6 +66,6 @@
}
}
// .flowText {
// }
\ No newline at end of file
.flowText {
font-family: "Plex-Bold";
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment